Date in Text control


Joseph Caristena

Hi,
Which is the best way to insert a date in this format
YYYY MM DD HH MM
(Year Month Day Hour Minute)
into a Text control ?

Thanks
Best
Joseph Caristena


DecSoft

Hello Joseph,

If I understand well, probably the best way is to use the NewDate action to create a Date variable, and then, use the DateFormat action with the created Date variable. Something like the below one:

Take a look at both NewDate action's reference and DateFormat action's reference.


Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.

This website uses some useful cookies to store your preferences.

I agree. Hide this note. Give me more information.