SoftadminUtil.Weekday_NameFromOrdinal

Type: Scalar function

This function can be used to get the name of the weekday associated with a given position in the week as determined by the system DATEFIRST-setting.

Example:
If your DATEFIRST-settings considers Monday to be the first day of the week then a @WeekdayNumber of 2 will return a value of "tuesday" etc.

Parameters

@WeekdayNumber mandatory int
The position in the week for which to return the weekday name.
@LanguageId mandatory int
The language to use when returning the weekday name. Set this argument to NULL or DEFAULT to use the system default langauge.