[Gambas-user] Best method to trigger event at midnight?

dr.diesel dr.diesel at ...626...
Sat Mar 23 20:34:06 CET 2013


Funny  you mention, I just wrote this:

  Dim midnight As Date
  Dim seconds As Integer
  midnight = DateAdd(Date, gb.day, 1)
  TextBox1.Text = DateDiff(Now, midnight, gb.Second)

Need to validate it then maybe I can assume any value < say 5 seconds is
midnight.



--
View this message in context: http://gambas.8142.n7.nabble.com/Best-method-to-trigger-event-at-midnight-tp41408p41414.html
Sent from the gambas-user mailing list archive at Nabble.com.




More information about the User mailing list