rrdwitt Posted April 4, 2019 Posted April 4, 2019 Hello all, I have tried the Format date function and several others but I cannot get the date formatted correctly. Seems a fairly simple rule but his one is not working. The number coming in is "01252020" I would like it to read January, 25 2020. But I keep getting the attached error. Thanks Quote
sschardan Posted April 5, 2019 Posted April 5, 2019 I'm sure there is a more concise way to do this, but this works: var month = Left(Field("date"), 2) var day = Left((Right(Field("date"), 6)), 2) var year = Right(Field("date"), 4) return FormatDate((month + " " + day + " " + year), "lm d, yyyy"); Quote
rrdwitt Posted April 5, 2019 Author Posted April 5, 2019 Thank you, I will give it a try. Privacy in mind, are you someone I used to work with? Your user name sounds familiar Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.