Table of Contents

WeekdayToString

Namespace
ZCore

Returns the given weekday-integer as string in the requested format See the following table on how the string will be shorten depending on the abbreviation parameter (using https://capitalizemytitle.com/abbreviations-for-months/)

Weekday Long LongAbbreviated LetterAbbreviated
Monday Monday Mon M
Tuesday Tuesday Tue T
Wednesday Wednesday Wed W
Thursday Thursday Thu R
Friday Friday Fri F
Saturday Saturday Sat S
Sunday Sunday Sun U
FUNCTION WeekdayToString (
 weekday : DateTimeWeekday,
 format : StringAbbreviationFormat) : STRING

Inputs

weekday DateTimeWeekday

format StringAbbreviationFormat