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.