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

Loading data

Hello how can i load the date of my field as "year-month"? It's know "day-month-year"

12 Replies
jagan
Luminary Alumni
Luminary Alumni

Hi,

Use this

=Date(DateFieldName,  'YYYY-MMM')

Regards,

Jagan.

CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Check with this if jagan mohan suggestion is not working.

     Date(Date#(DateField,'DD-MMM-YYYY'),'YYYY-MMM')

Not applicable
Author


Does'nt work returns '0'

Not applicable
Author

Returns '-1'

jagan
Luminary Alumni
Luminary Alumni

Hi,

Can you attach some sample dates you used in the application.  When I checked this '05/01/2012'  I got

=Date('5/1/2012',  'YYYY-MMM')

2012-May

Regards,

Jagan.

CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Can you post sample date format you have used in these expressions?

Celambarasan

Not applicable
Author

The date which is loaded is know 1-5-2012 and i want 2012-5

jagan
Luminary Alumni
Luminary Alumni

Hi,

Try this

Date(Date#(DateField,'D-M-YYYY'),'YYYY-M')

Regards,

jagan.

CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

Then check with this
Date(Date#(DateField,'D-M-YYYY'),'YYYY-M')

Celambarasan