Xbasic
international_days_of_week Function
Syntax
C Result = international_days_of_week([C options ])
Arguments
- C Result =
Days of the week, one per line
- options
(optional) Comma-delimited list of parameter-value expressions, such as: language=cultureCode, short, shortest, start-dayName
Description
Returns day of week, using current culture settings
Example
? international_days_of_week()
= Sunday
Monday
...
? international_days_of_week("start-monday,shortest")
= Mo
Tu
...
' german
? international_days_of_week("language=de")
= Sonntag
Montag
..The months and days returned are in UTF8 , so when dealing with the Web applications, you can take the output as is. However, when working from a desktop application (which assumes ACP) , you will need to call convert_utf8_to_acp()
See Also