Search results for query: *

  1. P

    Question DateDiff and Problems with FirstDayOfWeek

    Hi, I am writing some code that is trying to determine how far through a season we are in a game we play. For example: 13/11/2009 = week 1 20/11/2009 = week 2 The code below, sort of works: Dim currentWeek As Long Dim totalWeeks As Long 'We add 1 here as the datediff doesn't take into...
  2. P

    Stop Watch Counter (Elapsed Time)

    Hi, Thanks to another thread on this site I have found some code to countdown from a set period of time: PrivateSub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick If alarmTime < Date.Now Then Me.Timer1.Stop()...
Back
Top