In the 'help' fro the STRPRINT function click the 'Help Reference for the String Scripting language'. There check out 'zeropad' under 'Number Formatting Functions'. It looks like 'FmtInt(SDT0.Minute,dec,2,zeropad)' instead of just 'SDT0.Minute' should give you what you want.