/
Paste today's date into a textbox

Paste today's date into a textbox

Home | Categories | How-to-Articles | Command Reference | Examples | Troubleshooting | Cognillo.com

This article shows you how to enter the current date using Genta Automation.


Syntax

Enter @Today as [date field name here]

Example 1

The example syntax below will command Genta to determine the current date and time and paste it into the specified textbox.

Enter @Today as Contract Start Date
Fig. 1

Fig. 1 shows the expected result for Example 1


Example 2

The example syntax below will command Genta to determine the current date and paste it into the specified textbox, without the time of day.

Enter @Today("MM-dd-yyyy") as Contract Start Date

The date format can be changed based on order of the “MM-dd-yyyy” input.

Fig. 2

 

 

 

 

Fig. 2 shows the expected result for Example 2

Related content