[#absl-GetWeekday]
= xref:absl.adoc[absl]::GetWeekday
:relfileprefix: ../
:mrdocs:

Returns the absl&colon;&colon;Weekday for the given (realigned) civil&hyphen;time value&period;

== Synopsis

Declared in `&lt;absl&sol;time&sol;civil&lowbar;time&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/Weekday.adoc[Weekday]
GetWeekday(xref:absl/CivilSecond.adoc[CivilSecond] cs);
----

== Description

Example&colon;

absl&colon;&colon;CivilDay a(2015, 8, 13)&semi; absl&colon;&colon;Weekday wd &equals; absl&colon;&colon;GetWeekday(a)&semi; &sol;&sol; wd &equals;&equals; absl&colon;&colon;Weekday&colon;&colon;thursday

== Return Value

The weekday on which `cs` falls&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *cs*
| The civil&hyphen;time value to inspect&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
