Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Billy_u
Creator
Creator

date format

I have excel sheets where the data field arrives in two different formats, I would like both to format them in a single format, I'm trying this:
   Date (Date # (field, 'gg-mmm-yy' OR 'DD / MM / YYYY'), 'DD / MM / YYYY') as Data,


but it doesn't work for a format type: 12-Jan-19,

 

 

have you suggestions?

thx,

Billy

Labels (3)
1 Solution

Accepted Solutions
Frank_Hartmann
Master II
Master II

try like this:

 

Date(Alt( Date#(field,'DD/MM/YYYY'), Date#(field,'DD-MM-YY') ),'DD/MM/YYYY') as MixDate

 

View solution in original post

1 Reply
Frank_Hartmann
Master II
Master II

try like this:

 

Date(Alt( Date#(field,'DD/MM/YYYY'), Date#(field,'DD-MM-YY') ),'DD/MM/YYYY') as MixDate