thread767-1650510
I have a question similar to the one asked in the referenced thread...
I'm trying to extract a date from the memo field, but in this case, the date is not always the same length...meaning that August 8, 2012 is displayed as 8/8/2012, but October 8 is displayed as 10/8/2012, and October 10 is displayed as 10/10/2012. There are no leading zeros in front of Jan-Sept or days less than the 10th.
I'm able to extract a usable date for a MM/DD/YYYY format using the below formula, but a M/D/YYYY, MM/D/YYYY, or M/DD/YYYY does not work.
As you should be able to tell from the formula, the date comes after the text "Scheduled Start Date / Time (local time zone): ".
Any way to extract the date if it's not always in the same MM/DD/YYYY format?
Thanks!
I have a question similar to the one asked in the referenced thread...
I'm trying to extract a date from the memo field, but in this case, the date is not always the same length...meaning that August 8, 2012 is displayed as 8/8/2012, but October 8 is displayed as 10/8/2012, and October 10 is displayed as 10/10/2012. There are no leading zeros in front of Jan-Sept or days less than the 10th.
I'm able to extract a usable date for a MM/DD/YYYY format using the below formula, but a M/D/YYYY, MM/D/YYYY, or M/DD/YYYY does not work.
Code:
date(mid(mid({memo.field},instr({memo.field},"Scheduled Start Date / Time (local time zone): ")+47),1,10))
As you should be able to tell from the formula, the date comes after the text "Scheduled Start Date / Time (local time zone): ".
Any way to extract the date if it's not always in the same MM/DD/YYYY format?
Thanks!