Convert date into a number

B

Brad Christie

Is it possible to take the value in a date field and convert it to a number
so I can use it as part of a receipt number for the form?

Thanks for the help
 
S

Shekar(GGK Tech)

Hi
Replace the characters("/" or "-", "T", and ":") in the date string and use
the (C#)Convert.ToInt() method to convert the date to number.


Hope this helps you.
 
B

Brad Christie

Hi Shekar

Thanks for your help.

This is what I used - translate(Date, "-", "")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top