Results 1 to 4 of 4

Thread: Getting Day

  1. #1

    Thread Starter
    Hyperactive Member Asaf_99's Avatar
    Join Date
    Jul 2000
    Location
    Israel
    Posts
    335
    Hi all.
    I was wondering hoe do I efine a label to show the name of the day.
    I know these arguments for getting several things related to time:

    Time()
    Day()
    Date()
    Hour()
    Minute()
    Second()

    But how do I know the name of the day instead the number of the day in the month?

    PLZ Help me.
    Asaf Sagi

    ICQ: 61917199
    E-Mail: [email protected]

  2. #2
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    Dim today
    today = Now
    today = Format(today, "dddd")' equals Friday
    'today = Format(today, "ddd") = Fri
    MsgBox today

    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  3. #3
    Addicted Member
    Join Date
    Aug 2000
    Location
    Ireland
    Posts
    224
    maybe:
    Code:
    Format(Now, "dddd,mmmm dd,yyyy")
    This gives the format
    Thursday, September 7, 2000

    [Edited by kanejone on 09-07-2000 at 10:21 AM]

  4. #4

    Thread Starter
    Hyperactive Member Asaf_99's Avatar
    Join Date
    Jul 2000
    Location
    Israel
    Posts
    335

    Talking

    ThanX you guys!
    It works perfectly!
    Asaf Sagi

    ICQ: 61917199
    E-Mail: [email protected]

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