AUGForums.com

An Acumatica User Group

  • Forums
  • Podcast
  • Blog
  • Live
  • Login
  • Start Here
  • Sponsors
  • Rolodex
  • Courses
  • Consulting
  • Register
Acumatica Forums

By using this website, you agree to our Terms of Use (click here)

  • Overview
  • Member List
  • All-Stars
  • Stats
  • Recent Posts
  • Help
Forums
AUG Forums
Acumatica Analytica...
Column Header Date ...
 
Notifications
Clear all

Questions Column Header Date Formatting

    Last Post
RSS

cshaheen
Posts: 1
 cshaheen
Topic starter
March 23, 2021 12:05 pm
(@cshaheen)
1 Post 🙂
Joined: 4 weeks ago

Hi everyone, I have a monthly income statement where the column headers need to be in the MM/dd/yyyy format. I'm currently using the below formula, which works but if my start period date ends in 28 or 30, my months that end with 31 show the 28 or 30 instead. 

This formula shows the 2 months prior to my start period selected when running the report =Format( '{0: MM/dd/yyyy}', DateAdd( Report.GetPeriodEndDate(@StartPeriod), 'm', -2)) 

When running for StartPeriod 03-2021, my report shows the dates properly. See below.

image

However, if I run it for StartPeriod 04-2021, my report shows the dates using the PeriodEndDate for April (30 instead of 31). See below.

image

The below example is running for 02-2021.

image

 

Any and all help is greatly appreciated!

  All forum topics
  Previous Topic
  Forum Statistics
11 Forums
1,766 Topics
8,110 Posts
4 Online
1,219 Members

Latest Post: Discount Lines on Printed Forms Our newest member: MarkD Recent Posts Unread Posts

Forum Icons: Forum contains no unread posts Forum contains unread posts

Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Online Members

Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

Copyright © 2021 · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×