Indy500 Posted January 9, 2011 Share Posted January 9, 2011 FormatDateTime("%c", SysTime()) returns something like "02/20/04 12:14:07". Is there a way to get it to also give me the fractions of a second? Something like: "02/20/04 12:14:07.157"? Thanks! -David Link to comment Share on other sites More sharing options...
AzeoTech Posted January 10, 2011 Share Posted January 10, 2011 There are stacks of other % specifiers available to allow you to format the date/time exactly how you want. However, if you just want to add decimal seconds, you can do something like this: FormatDateTime("%c",time) + mid(Format("%.03f",time % 1),1,100) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.