GLBasic forum

Main forum => GLBasic - en => Topic started by: Alex_R on 2011-Nov-02

Title: Current date and time
Post by: Alex_R on 2011-Nov-02
Hi!!. How do I get the current date and time? Is it possible to compare two dates? Eg. Mydate = NEW DATE("yyyy/MM/dd HH:mm:ss"); IF Mydate > GETCURRENTDATE() THEN. ...
Title: Re: Current date and time
Post by: MrTAToad on 2011-Nov-02
It would be easier to get the julian date and then compare.
Title: Re: Current date and time
Post by: Alex_R on 2011-Nov-02
You are right Ocean. The manual is my friend. Some times I search for some expresion like "date" and found... nothing, but always is there!!   =D

Thank you!!