Handling datetime functions and Investigate likely issues with datetime

Seems that we don’t have a test predicting TimeZone