Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2003
    Location
    York PA
    Posts
    11

    Unanswered: display year only

    I'm trying to cause the current year to display in a text box (in a report) and getting nowhere. Help would be greatly appreciated.

  2. #2
    Join Date
    Jun 2002
    Location
    Mpls/St.Paul area
    Posts
    303
    drum roll please..................

    =Format(Date(),"yyyy")

    ta da


    Merry Christmas!
    John
    This is the day the Lord has made, I will rejoice and be glad in it.

  3. #3
    Join Date
    Dec 2003
    Location
    York PA
    Posts
    11

    Talking

    Thanks, I wasn't putting format in there

  4. #4
    Join Date
    Feb 2002
    Posts
    2,232
    Or:
    Year(Date())

  5. #5
    Join Date
    Oct 2003
    Location
    Ger
    Posts
    1,969
    Provided Answers: 1
    Also DatePart("yyyy",Date)

  6. #6
    Join Date
    Nov 2002
    Location
    Belgium
    Posts
    243
    What about :
    Code:
    Right(date(),4)

Posting Permissions

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