Running script fill date and time
I would like know what is the best method of running a script to fill out a field automatic like date and time?
Depending on what you need, you may not need any script at all. Take a look at date, time and timestamp fields and note the auto-enter options available in field options that can automatically enter the current date, time or timestamp each time a new record is created or each time an existing record is modified.
If you need a script to log the date and time, you have three functions that you can use: Get ( CurrentTime ) , Get ( CurrentDate ) , and Get ( CurrentTimeStamp ) with a set field step to enter that data into a time, date or timestamp field.
Time Stamps record both the date and time in the same field which can make for simpler elapsed time calculations.
Retrieving data ...