UPRRDevelopers
asked on
How to Convert MON DD HH:MM:SS YYYY Format in VB?
I have a date/time value I'm reading from a database that returns the date/time in this format:
May 01 16:17:32 2009 ... I would like to convert this to a better format, such as this:
05/01 16:17:32
I don't see an easy way to do that in VB ... can someone help? Thanks.
May 01 16:17:32 2009 ... I would like to convert this to a better format, such as this:
05/01 16:17:32
I don't see an easy way to do that in VB ... can someone help? Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Perfect... thanks for the quick answer!
dim MyDate as string
MyDate = Format(rs.fields("DBDateFi