Skip to main content
Question

How do I convert decimal hours to hours and minutes?

  • October 23, 2023
  • 1 reply
  • 81 views

Can anyone provide any advise on converting hours from an input as a a decimal (1.5 for 1 hour 30 mins) and converting it to a separate hours and minutes output?

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • October 23, 2023

Hi @APearce 

Good question.

That would likely have to be handled by a custom Code step.

Try asking ChatGPT for the code (javascript).