Format datetime using correct timezone