Need so help on date and time. My objective is to:
1st get the user to fill in 2 field of Start time in this format - dd/mm/yy followed by hh:mm. Preferably the user will not have to key in the "/" and ":".
2nd get the user to filed in the Stop time in the same format above fo rhte additional 2 more fields.
3rd take the Stop time - the Start time
4th get the difference and place it into a 5th field.
below are the example codes from codes from a user that I want to modify.
Code: Select all
put field 1 && field 2 into tStartDate
convert tStartDate to internet date
put tStartDate into field 6
convert tStartDate to seconds
put field 3 && field 4 into tEndDate
convert tEndDate to internet date
put cr & tEndDate after field 6
convert tEndDate to seconds
put tEndDate - tStartDate into tAllSeconds
Could the LiveCode gurus please help.
Best Regards
Subas