infernothebest Posted January 29, 2008 Share Posted January 29, 2008 iam making a gui thats sending a file on date/time the problem is the time musn't be lower then the currect time i tryed this but it doesn't function anyone a idea??? thx adv $tijdstip = GUICtrlCreateInput ( @hour&":"&@MIN, 110, 200, 35, 20) if GUICtrlread($Date)<@hour&":"&@min Then MsgBox(0,"false input ", "false time") Else MsgBox(1, "Selected Execute Time", "You selected this time window: "&GUICtrlread($Date)&" Time: "&GUICtrlread($tijdstip)) EndIf Apple Keybord shortcuts for XP Link to comment Share on other sites More sharing options...
evilertoaster Posted January 29, 2008 Share Posted January 29, 2008 The date managment UDFs could help you here. Currently you are comparing two strings with a less-than which will probably not give you what you are looking for. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now