yourtime.tostring() format 12hr 24hr share

yourtime.tostring() format 12hr 24hr share

 https://help.zoho.com/portal/en/community  is too poor resource for us,  but it's the only !

Some function are enable in creator, but many people don't know where to find them.

Example, same with me ,try multiple methods to transform 12hr or 24hr, in fact, zoho creator have this function.

 

Suppose  now is 2016-04-29  15:30:12 :

info zoho.currenttime.tostring("hhmmss")      // show   033012

info zoho.currenttime.tostring("HHmmss")     // show   153012

 

If it can help somebody, I should be very happy!