GetTodayAsync¶
Returns the current date in the specified time zone asynchronously.
1 |
|
Parameters¶
string timeZone
Specifies the target time zone for current date in "hh:mm" format. Optional, if not specified system timezone information is used.
Remarks¶
You may use toISOString() method for comparisons on Xml Database. Such as;
date comparison¶
1 2 3 4 5 |
|
Info
You can use ,Calendar.GetDateTime, or ,Calendar.GetDateTimeAsync, methods as alternative to get relative date time values.
Example¶
1 2 3 4 5 6 |
|
Result it¶
1 2 |
|