Best answer

How to convert 12 hour time to 24 hour time format?

  • 12 June 2024
  • 5 replies
  • 26 views

Userlevel 1

Hello,

I am looking for a way to convert a 12 hour time format to a 24 hour format. I know that was asked the other way (from 24 to 12 hours) here:

 

But I don’t know how to convert a {{zap_meta_human_now}} format which is “MM/DD/YY hh:mm (AM/PM)” to DD.MM.YYYY hh:mm (i.e. 31.12.2024 20:04).

Any suggestions?

Thanks for help,
Michael

icon

Best answer by michael29180 12 June 2024, 17:54

View original

5 replies

Userlevel 7
Badge +14

Hi @michael29180 

Zap action: Formatter > Date & Time > Format

https://help.zapier.com/hc/en-us/articles/8496257974029-Modify-date-and-time-formats-in-Zaps#h_01HF6R8YN0S090W3YNNYCA1V0S

Userlevel 1

Hi @Troy Tessalone , I was already on this page but I still don’t know how to convert from 12 hours to 24 hours format.

Any suggestions?

Thanks, Michael

Userlevel 7
Badge +14

@michael29180 

Use the ‘Custom’ tab to specify your own time format.

 

 

Userlevel 1

@Troy Tessalone Thanks, got it.

I converted from:

{{zap_meta_human_now}}

MM/DD/YY hh:mm A
(the date was: 06/12/24 5:51 PM)

 

to:

DD.MM.YYYY HH:mm


and the result was:

12.06.2024 17:51

 

Perfect! Thanks a lot.

Userlevel 7
Badge +6

That’s awesome, @michael29180! Thank you for sharing the solution here, and thanks to Troy for pointing you in the right direction!

If you have any other questions, please don’t hesitate to reach out to the Community. We’re always happy to help! 🤗

Reply