Forum Moderators: open
I want to know how I can get the current date and time and put the results in two text 'input fields':
in the first field should be the current hour value, in the second field, the current 'minutes' value.
I suppose I could use something like:
1. <input type="text" name="hours" maxlength="2" value="<%hourvalue%>" />?
2. <input type="text" name="minutes" maxlength="2" value="<%minutesvalue%>" />?
But what is the function to obtain the current hour and minutes?
1. <input type="text" name="hours" maxlength="2" value="<%arrayValue(1)%>" />?
2. <input type="text" name="minutes" maxlength="2" value="<%arrayValue(2)%>" />?