I am trying to recognize a change in date from todays. Basically, when the date changes at midnight or 12:01...(whatever it is on the pc). Here is what I have so far...this is not working though, the message box pops up immediately. Thanks in advance
VB Code:
  1. Private Sub Timer1_Timer()
  2.     Static smi_date As Integer
  3.    
  4.     If smi_date <> Day(Now) Then
  5.         MsgBox ("Hello, New Day")
  6.         smi_date = Day(Now)
  7.     End If
  8. End Sub