Gustav Brock
Gustav at cactus.dk
Mon May 5 10:51:41 CDT 2008
Hi John Here's a good reference on date format strings with lots of samples: http://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx /gustav >>> jwcolby at colbyconsulting.com 05-05-2008 17:23 >>> I need to get the current date / time in a format that does not include : or /, IOW "20030123-082347". I need it in this format for appending to a file name so that the name is unique and sorts in the directory. Has anyone already done this, or know how it is done? I can get the year part etc., but I am not finding hour, minute or second, and I am just wondering if someone has code already built. -- John W. Colby www.ColbyConsulting.com