Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
skr002244
Contributor III
Contributor III

How to change date format to number format ??

how to change

22/10/2015

11/11/2015

25/12/2015

into number format ?

1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi,

Num(date_field) gives u the answer

HTH.

View solution in original post

8 Replies
Not applicable

Hi ,

Try this

num('22/10/2015')



Thanks

Harsha

Anonymous
Not applicable

Hi,

Num(date_field) gives u the answer

HTH.

avinashelite

Hi Santha,

Use Date#(date_field) to convert date to other format.

To format date field use Date() function.

Anonymous
Not applicable

Hi Try like this

=Num(Today())  gives the number as 42009

Like wise use in u r requirement

skr002244
Contributor III
Contributor III
Author

if 17/9/2015 is in char format then how to change it ?

Anonymous
Not applicable

Use num(date(date#('17/9/2015','dd/mm/yyyy')))

skr002244
Contributor III
Contributor III
Author

if i want to have multiple date format like d/m/yyyy ???

jagan
Luminary Alumni
Luminary Alumni

Hi,

Then try like this using Alt()

=Alt(Date#(DateField, 'd/M/yyyy'), Date#(DateField, 'M/d/yyyy'),Date#(DateField, 'd/MMM/yyyy'), ...............

)

Regards,

Jagan.