function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sfpsfp 

Seconds to Minutes in visual force Output Text

Hi All

I have converted seconds to Minutes. How to format single digit to 01 like that.

{!IF(FLOOR(MOD(t.CallDurationInSeconds,3600)/60)==0,'00',FLOOR(MOD(t.CallDurationInSeconds,3600)/60))}

how to format Minutes in single digit like 6 to 06.

Thanks
AmitAmit (Salesforce Developers) 
Hello,

Please refer following links for more information:

https://help.salesforce.com/apex/HTViewSolution?urlname=Formula-for-creating-Date-Time-field-using-Date-field-and-Time-Time-as-Picklist&language=en_US

https://help.salesforce.com/apex/HTViewSolution?urlname=Data-Loader-Import-data-for-Date-or-Date-Time-field-1327108684799&language=en_US