Jump to content
Salesforce and other SMB Solutions are coming soon. ×

Date to text problem


bruce5109
 Share

Recommended Posts

I need to convert an input date field (Ex: 02/15/11) as text with an output format of 02152011 (mmddyyyy). I have been able to get the text conversion to work, but I cannot figure out how to get the leading zeros on single-digit days and months. Can anyone help with this??

 

Current Formula, which results in text, is:

DateTextCalc = Month(TravelDate) & Day(TravelDate) & Year(TravelDate)

Link to comment
Share on other sites

This thread is quite old. Please start a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

Important Information

Terms of Use