[#BloombergLP-bdlt-DayOfWeek-toAscii] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/DayOfWeek.adoc[DayOfWeek]::toAscii :relfileprefix: ../../../ :mrdocs: Return the abbreviated character‐string representation of the enumerator corresponding to the specified `dayOfWeek`. This representation matches the enumerator's three‐character name (e.g., `e_SUN`) with the "e_" prefix elided. For example: ` bsl::cout << bdlt::DayOfWeek::toAscii(bdlt::DayOfWeek::e_SUN); ` prints the following on standard output: ` SUN ` Note that specifying a `dayOfWeek` that does not match any of the enumerators will result in an unspecified string representation being returned that is distinct from the values returned for any valid enumeration. == Synopsis Declared in `<bdlt_dayofweek.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static char const* toAscii(xref:BloombergLP/bdlt/DayOfWeek/Enum.adoc[Enum] dayOfWeek); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#