Link to home
Start Free TrialLog in
Avatar of joein610
joein610

asked on

Covert a DATE/TIME to string value in VBA

For the Life of me I cant find a function to convert a DATE/TIME field to a String

Im sure I can you a datepart function but that would be ugly.

But does VBA have a Function to change a standard access date/time to a String?
I know they have the opposite datevalue(September 15, 2005) to 9/15/05

Thanks for the Help!

Joe V
Avatar of Stephen_Perrett
Stephen_Perrett

format(Now,"dd/mm/yy")
steve
ASKER CERTIFIED SOLUTION
Avatar of Bat17
Bat17

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You can create any format you want  e.g. "mmmm d, yyyy"