CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    71

    Get Month from Date

    Hi, Nice day.
    I have a question about the Date.
    how can i display the month and year only from the date saved in the access database?




  2. #2
    Join Date
    Feb 2000
    Location
    Ireland
    Posts
    808

    Re: Get Month from Date

    use the format$ function

    Mydate=format$(Mydate,"mm/yyyy")



    There are plenty of different formats you can use have a look in the help files


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

Featured