NToCDoW Function | |
Convert the number that identifies a day into the name of the day.
Namespace:
XSharp.Core
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.19
Syntax FUNCTION NToCDoW(
dwDayNum AS DWORD
) AS STRING
public static string NToCDoW(
uint dwDayNum
)
Request Example
View SourceParameters
- dwDayNum
- Type: DWord
A number from 1 to 7.
Return Value
Type:
String
The name of the day that corresponds to
dwDayNum, where Sunday is 1, Monday is 2, and so on.
Remarks
This function is nation-dependent.
Examples
This example shows how NToCDoW() works in English:
1? NToCDoW(1)
2? NToCDoW(4)
3? NToCDoW(7)
4? NToCDoW(8)
See Also