Oct 29, 2003 #1 joethehoe Technical User Jan 2, 2002 27 US Does anybody know how to convert: TimeValue ({mo_agent_unit.tdTime}) to a number?? I seen a number of differnt ways to convert numbers to time but not back to a number. something like 5:00:00am and 5:30:00am to 05 and 05.5 Help, Help!!
Does anybody know how to convert: TimeValue ({mo_agent_unit.tdTime}) to a number?? I seen a number of differnt ways to convert numbers to time but not back to a number. something like 5:00:00am and 5:30:00am to 05 and 05.5 Help, Help!!
Oct 29, 2003 #2 pandpp Programmer Sep 17, 2003 110 AU How about: numberVar intHours := Hour({VP_USERACCOUNT.PWDUPDATEDTM}); numberVar intMinutes := Minute({VP_USERACCOUNT.PWDUPDATEDTM}); numberVar intSeconds := Second({VP_USERACCOUNT.PWDUPDATEDTM}); intHours + (intMinutes / 60) + (intSeconds / 3600) Peter. Upvote 0 Downvote
How about: numberVar intHours := Hour({VP_USERACCOUNT.PWDUPDATEDTM}); numberVar intMinutes := Minute({VP_USERACCOUNT.PWDUPDATEDTM}); numberVar intSeconds := Second({VP_USERACCOUNT.PWDUPDATEDTM}); intHours + (intMinutes / 60) + (intSeconds / 3600) Peter.
Oct 30, 2003 Thread starter #3 joethehoe Technical User Jan 2, 2002 27 US Thanks pandpp Upvote 0 Downvote