Hi all,
I need to get the TIme in Time field.
Aslike in Date (SysDate)
< Hours: 10:00 AM >
Minutes: 01 02 03 04 05 06 07 08 09 10
11 12 13 14 15 16 17 18 19 20
21 22 23 24 25 26 27 28 29 30
.
.
51 52 53 54 55 56 57 58 59 60
Do we have like sysDate Edt for this .
how can we achieve this.
HI
If I use TimeBias EDT its getting lnteger Values of time…
while entering time in the field it has to show in the above format wt i have given.
li SySDate.
And one more thing I need to compare the time. how can I do…
I need to compare like:
Time test_Time ;
FromTime _fromTime;
ToTIme _ToTime;
;
_fromTime = 10:10; // Am
_ToTime = 12:20; // pm
if(_fromTime < _ToTime)
{
test_Time = _fromTime - _ToTime; // its has to get 2:10 balance time
}
How can I achieve this.
Thanks in advance
You want to have as <10:00 AM > <>
means i didnt get…what does it means…
If we assign a SysDate Edt to date field.
we will get like this in lookup.
< Mar / 2011 >
Here Dates
__
in the same way
< 10: 00 >
here want to show hours
01 02 03 04 …
.
.
. like this…
I need to compare like:
Time test_Time ;
FromTime _fromTime;
ToTIme _ToTime;
;
_fromTime = 10:10; // Am
_ToTime = 12:20; // pm
if(_fromTime < _ToTime)
{
test_Time = _fromTime - _ToTime; // its has to get 2:10 balance time
}
How can I achieve this.
Thanks in advance
Harish
#7
Hi,
Have a look at ‘tutorial_timer’ form. In your form, use TimeEdit control to display the time.
Then in your code, you can use TimeBias EDT to capture the time in integers and do comparison.
Alternatively you can use ‘times2str()’ function to convert the integer time to string and compare the value.