[#BloombergLP-balber-BerUtil_DateImpUtil-daysSinceEpochToDate] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::xref:BloombergLP/balber/BerUtil_DateImpUtil.adoc[BerUtil_DateImpUtil]::daysSinceEpochToDate :relfileprefix: ../../../ :mrdocs: Load to the specified `date` the date represented by the serial date indicated by adding the specified `daysSinceEpoch` to `k_COMPACT_BINARY_DATE_EPOCH`. Return 0 on success, and a non‐zero value otherwise. This operation succeeds if the resulting value represents a date in the range `[0001JAN01 .. 9999DEC31]`. Note that `daysSinceEpoch` may be negative to indicate a serial date that occurs before `k_COMPACT_BINARY_DATE_EPOCH`. == Synopsis Declared in `<balber_berutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int daysSinceEpochToDate( xref:BloombergLP/bdlt/Date.adoc[bdlt::Date]* date, xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64] daysSinceEpoch); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#