[#BloombergLP-bdlt-ProlepticDateImpUtil-serialToDayOfWeek] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/ProlepticDateImpUtil.adoc[ProlepticDateImpUtil]::serialToDayOfWeek :relfileprefix: ../../../ :mrdocs: Return the day of the week for the specified serial date. == Synopsis Declared in `<bdlt_prolepticdateimputil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int serialToDayOfWeek(int serialDay); ---- == Description Return, as an integer (with `1 = SUN`, `2 = MON`, ..., `7 = SAT`), the day (of the week) of the date value indicated by the specified `serialDay`. The behavior is undefined unless `isValidSerial(serialDay)` returns `true`. == Return Value day of week in `[1 .. 7]` (`1 = SUN` .. `7 = SAT`) == Parameters [cols="1,4"] |=== | Name| Description | *serialDay* | serial date to convert |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#