Removed all references to localtime