Avatar

Level 1

I'm creating a form that asks the user to input a date in a date time field (usually it will be the present date or close to it). The users will use the drop-down calendar date picker to choose the date.

This is what I have for the 10 day date field but the output is always January 10 1900. I assume it has to do with epoch but have no clue how to fix this

if

(HasValue(DateTimeField1))then

Num2Date((Date2Num(DateTimeField1)

+10),"EEEE,MMMM D,YYYY")

else

null

I would appriciate any help I could get.

Thanks!