Can any body help me to convert a numeric values which is in seconds to convert into HHMMSS in Visual Foxpro

suppose if 30 seconds should be 000030 or if it is 60 seconds then 000100 and so on what if the value is 1100 seconds



Please help.

kmistry1@hotmail.com