Results 1 to 3 of 3

Thread: How can I get a current day

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2000
    Location
    Croatia
    Posts
    52

    Smile

    How can I get a current day (Sunday, Monday,...) like I can get date with Date() or New() or time with Time() ?

  2. #2
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606
    WeekDay(date,firstdayofweek)
    ex:
    WeekDay(#July 29,#1999)
    Return 5 for thursday

    vbSunday = 1 to vbSaturday = 7

  3. #3

    Thread Starter
    Member
    Join Date
    Oct 2000
    Location
    Croatia
    Posts
    52

    Thumbs up Thanks

    Thanks a lot sebs, it works!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width