Sep 19, 2001 #1 AgentM MIS Jun 6, 2001 387 US I need to format the date field in mm/dd/yyyy. Irrespective of what the user enters. Can any body help? Thanks
I need to format the date field in mm/dd/yyyy. Irrespective of what the user enters. Can any body help? Thanks
Sep 19, 2001 1 #2 shaddow Programmer Mar 22, 2001 1,862 RO Try this UserDate=your user date myDate=Month(UserDate)+"/"+Day(UserDate)+"/"+Year(UserDate) hope this helps... ________ George, M Upvote 0 Downvote
Try this UserDate=your user date myDate=Month(UserDate)+"/"+Day(UserDate)+"/"+Year(UserDate) hope this helps... ________ George, M
Sep 19, 2001 #3 dianal Instructor Mar 7, 2001 273 BG Take a look what FormatDate do: http://www.devguru.com/Technologies/vbscript/quickref/formatdatetime.html Upvote 0 Downvote
Take a look what FormatDate do: http://www.devguru.com/Technologies/vbscript/quickref/formatdatetime.html
Sep 19, 2001 Thread starter #4 AgentM MIS Jun 6, 2001 387 US Thank you people. George's soln. works for me. Upvote 0 Downvote