Hi Guy,
One more update: I tried using the following javascript:
var Time = new Date();
Time.setMinutes(Time.getMinutes() - 5);
var aMinutes = '' + Time.getMinutes();
var aHours = '' + Time.getHours();
if (aMinutes < 10) {
aMinutes = 0 + aMinutes;
}
if (aHours < 10) {
aHours = 0 + aHours;
}
var aTime = aHours + ":" + aMinutes;
Time.setMinutes(Time.getMinutes() - 25);
var bMinutes = '' + Time.getMinutes();
var bHours = '' + Time.getHours();
if (bMinutes < 10) {
bMinutes = 0 + bMinutes;
}
if (bHours < 10) {
bHours = 0 + bHours;
}
var bTime = bHours + ":" + bMinutes;
The script works, however... when the values for aTime and bTime are parsed to the UI of IE in develop script mode, I still have the same problem as when using the time parameters with offset in the past. Very strange....
When I add a window.alert() to display the values of aTime and bTime the format is correct, but when parsed to the UI during runtime it is getting malformed for some reason.
Peet