MonthToString
- Namespace
- ZCore
FUNCTION MonthToString (
[input] month : DateTimeMonth,
[input] format : StringAbbreviationFormat) : STRING
Returns the given month-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 |
Inputs
month
DateTimeMonthformat
StringAbbreviationFormat
Returns
- STRING