Results 1 to 3 of 3

Thread: Date and time

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Location
    Trondheim, Norway
    Posts
    65
    How can I get which day of the week we're in, and which month it is?

    Need to present the weekday/month name in a non-English language.

    Thanks.

  2. #2
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    Basically what you would have to do is, use the time code:
    Code:
    text1.text=date
    and then simply parse out the month, which follows the first \

    Gl,
    D!m.
    Dim

  3. #3
    Addicted Member Active's Avatar
    Join Date
    Jan 2001
    Location
    Lat: 13° 4' 46" N, Long: 80° 15' 20" E
    Posts
    209
    For Month USe the Month Function

    Like

    m = Month(Now)

    Returns a Number Between 1 and 12

    and Similarly use Weekday function
    to get a value between 1 and 7

    1 is sunday and 7 is saturday

    eg :

    w = Weekday(#March 11, 2001#)

    Will return 1
    If you can't beat your computer at chess, try kickboxing !!!
    [Download Tag Editing Tools.]

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