The ToLocal() function converts a UTC date to a local date with the given timezone (TZ database name). You can find the time zones used in wem in the list of .
This function is NOT SQL compatible. For more information about SQL compatibility, see our .
Returns the local date with the given timezone.
Returns null if the timezone argument is not recognized.