DateTime

Hi pips

I’m combining date and time on a form, but it only shows time with no date. I created it as UtcDateTime, but only time shows when I run the form.

Please help

Thanks

Sinoyolo

Hi sinoloyo,

You should check the date and time format and display options in your field’s property, there’s Display options, TimeFormat, TimeHours, DateFormat etc properties.

Regards

Thomas

Hi Thomas

I’ve checked and set the properties, but no change, still only displaying time with no date.

Thanks

Sinoyolo

did you check the value passed to your form field ?, what gives you into the debugger or with an info(strfmt("%1",YourTable.YourField))?

Hi Thomas

This took me a long time to reply, apologies for that, but it worked and I submitted it before I went to December holidays.

Thank you so much

Sinoyolo