Converting the string to time and adding the minutes to it.
Hi,
I will read a time from a text box in 24hrs format and put it into a variable. I need to add 30minutes to it.
Ex:
put readtext(searchrectangle) into timefield //Time field holds the value in 24hr format ex: 1530
put timefield + 30 into timefield //returns the value as 1590.
Actually i need the value to be returned as 1630.
Any help would be great
I will read a time from a text box in 24hrs format and put it into a variable. I need to add 30minutes to it.
Ex:
put readtext(searchrectangle) into timefield //Time field holds the value in 24hr format ex: 1530
put timefield + 30 into timefield //returns the value as 1590.
Actually i need the value to be returned as 1630.
Any help would be great
Tagged:
0
Comments