Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

sticky date format

Hi, I have an xls with monthly price updates which i want add to my existing reports.

Problem is that this file has a manual month name instead of a real date format :

format is

'Jan 12

'Feb 12

'Mar 12

is there any way to fix this and convert it during load? I'd like to use it with my standard date island.

thanks for any input!

1 Solution

Accepted Solutions
whiteline
Master II
Master II

Hi.

You can use Date# function to convert strings into date format (dual).

In your case Date#(right(date, len(date)-1), 'MMM DD').

Then you can convert it with Date function:

Date(Date#(right(date, len(date)-1), 'MMM DD'), 'YYYY-MM')

View solution in original post

2 Replies
whiteline
Master II
Master II

Hi.

You can use Date# function to convert strings into date format (dual).

In your case Date#(right(date, len(date)-1), 'MMM DD').

Then you can convert it with Date function:

Date(Date#(right(date, len(date)-1), 'MMM DD'), 'YYYY-MM')

Not applicable
Author

that's great, thanks alot!