Load *result from the "YYYYMMDD" encoding of yyyymmddValue.
Synopsis
Declared in <bdlt_dateutil.h>
static
int
convertFromYYYYMMDD(
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
Name |
Description |
result |
destination for the decoded date |
yyyymmddValue |
integer in YYYYMMDD form |
Created with MrDocs