Results 1 to 3 of 3
  1. #1
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Niagara Falls, New York, USA
    Posts
    1,878
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to Long Date and Time in Report Header? (a2k (9.0.3821) SR-1 Jet 4.0)

    How to Long Date and Time in Report Header?
    a2k (9.0.3821) SR-1 Jet 4.0

    I have a report with the following date control in the Report Header:

    Control Source: =Now()
    Format: dddd", "mmmm w", "yyyy - hh:nn ampm

    When I run the report today at 8:20 AM it prints:

    Thursday, April 5, 2003 - 8:20 AM

    It should print:

    Thursday, April 10, 2003 - 8:20 AM

    Yesterday it printed:

    Thursday, April 4, 2003 - 8:20 AM

    If I change format to Long Date the date prints OK

    What am I doing wrong?

    How do I get it to print corect long date and time?:Thursday, April 10, 2003 - 8:20 AM

    Thanks, John

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: How to Long Date and Time in Report Header? (a2k (9.0.3821) SR-1 Jet 4

    Use d instead of w in the format. "w" stands for day of the week (1 = Sunday, 2 = Monday, etc.), "d" stands for day of the month.

  3. #3
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Niagara Falls, New York, USA
    Posts
    1,878
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: How to Long Date and Time in Report Header? (a2k (9.0.3821) SR-1 Jet 4

    Thanks

Posting Permissions

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