Sign in to follow this  
Followers 0
infernothebest

stuck compair time

2 posts in this topic

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

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0