[#BloombergLP-bdls-FilesystemUtil_WindowsImpUtil-convertFileTimeToDatetime] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FilesystemUtil_WindowsImpUtil.adoc[FilesystemUtil_WindowsImpUtil]::convertFileTimeToDatetime :relfileprefix: ../../../ :mrdocs: Load into the specified `time` the time in the specified `lpFileTime`. Return 0 on success, and a non‐zero value otherwise. Note that the time is reported in UTC. == Synopsis Declared in `<bdls_filesystemutil_windowsimputil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int convertFileTimeToDatetime( xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime]* time, xref:BloombergLP/bdls/FilesystemUtil_WindowsImpUtil.adoc[LPFILETIME] const lpFileTime); ---- == Return Value 0 on success, and a non‐zero value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *time* | receives the converted time in UTC | *lpFileTime* | Windows `FILETIME` value to convert |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#