Converts a date to the given locale.
This function only exists for compatibility reasons and should not be used. The timezone is not part of the datetime object. The function simply add/subtracts the time between the local time and the UTC from the date Object.
This function does not take any arguments.
There are currently no examples for this function.