Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2004
    Location
    gujarat, india
    Posts
    32

    Unanswered: Getting First Day Of Month

    Hello masters,

    i want to get first date of the month from vb, i.e if today is 15/12/2004 i want to get 01/12/2004

    does anybody knows how it is to be done?

    Can anybody help?

    Thankx
    Zenil

  2. #2
    Join Date
    Oct 2003
    Posts
    357
    try this
    Code:
    Dim d As Date
    d = Date
    
    MsgBox d
    MsgBox "1/" & Month(d) & "/" & Year(d)
    Madhivanan

  3. #3
    Join Date
    Dec 2004
    Location
    gujarat, india
    Posts
    32
    Thanks, Madhivanan,

    This solved my problem

    Regards
    Zenil

Posting Permissions

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