Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6591 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I'm trying to make a calculation field transpose a date into a text string with leading zeroes in front of single digit months and days. For example, I need the date 1/5/2006 to calculate to 010506 as text.

The day(date) and month(date) functions seem to strip out any leading zeroes.

Thanks in advance.

Posted

You might try:

Right ( "00" & Month ( theDate ) ; 2 ) &

Right ( "00" & Day ( theDate ) ; 2 ) &

Right ( Year ( theDate ) ; 2 )

This topic is 6591 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.