[#BloombergLP-bdlt-DateUtil-convertFromYYYYMMDD] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/DateUtil.adoc[DateUtil]::convertFromYYYYMMDD :relfileprefix: ../../../ :mrdocs: Load `*result` from the "YYYYMMDD" encoding of `yyyymmddValue`. == Synopsis Declared in `<bdlt_dateutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int convertFromYYYYMMDD( xref:BloombergLP/bdlt/Date.adoc[Date]* result, int yyyymmddValue); ---- == Description Load, into the specified `result`, the `Date` value represented by the specified `yyyymmddValue` in the "YYYYMMDD" format. Return 0 on success, and a non‐zero value, with no effect on `result`, if `yyyymmddValue` does not represent a valid `Date`. == Return Value 0 on success, non‐zero on failure == Parameters [cols="1,4"] |=== | Name| Description | *result* | destination for the decoded date | *yyyymmddValue* | integer in YYYYMMDD form |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#