Form object
Use this method to change the creation date and time of a form.
For NewDate, use a four-digit year.
For NewTime, use one of these formats:
hh
hh:mm
hh:mm:ss
hh:mm:ss:xx (where xx is hundredths of a second)
You can replace the colon with any character, for example a period or space.
If any argument is omitted (empty string), the value is not modified. That is, if you include only NewTime, then the form’s creation date remains unchanged, and vice versa.
|
Return value |
Description |
|
0 |
Success. |
|
1 |
Invalid time string (NewTime argument). |
|
2 |
Invalid date string (NewDate argument). |
|
3 |
Failure (database problem). |
| Warning |
|---|
|
The method does not work if you specify a 2-digit year. |