staceyn Posted November 30, 2007 Posted November 30, 2007 I have a field that has the date entered as MM/DD/YYYY. I need to set up a new field that will convert it to text with YYYYMMDD. Can anyone help me with a calculation? Thank you so much.
bcooney Posted November 30, 2007 Posted November 30, 2007 Using a different date format is not an option? Layout Mode > Format Date (field must be selected).
Lee Smith Posted November 30, 2007 Posted November 30, 2007 If I'm understanding what you want (i.e. 11/29/2007 to 2007/11/29) Try this New Field (Calc, Text) = Year ( [color:blue]YourDate ) & "/" & Month ( [color:blue]YourDate ) & "/" & Day ( [color:blue]YourDate ) Substitute your [color:blue]date field for [color:blue]YourDate HTH Lee p.s. let us know if this doesn't do what you want.
MarkWilson Posted November 30, 2007 Posted November 30, 2007 Year( DateField ) & Right( "0" & Month( DateField ) , 2 ) & Right( "0" & Day( DateField ) , 2 )
Recommended Posts
This topic is 6264 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now