Date Formats in Acumatica

By | March 9, 2023

Introduction: 

In this blog we will learn how to add various date formats in Acumatica systems for print Reports and export data.

We receive unstructured data from a number of companies. Columns with date information have various formats that change from week to week. (example, mm-dd-yy, mm/dd/yyyy, dd-mmm-yy, yyyy/mm/dd, etc.)

For this date format mm/dd/yyyy we can pass this function =Format(‘{0:MM/dd/yyyy}'[Fieldname])

01 MonthDateYear format
02 Result DateFormat

We can also change the rest of the formats according to this function We can use – instead of / for change format.

For this date format mm-dd-yyyy we can pass this function

=Format(‘{0:MM-dd-yyyy}'[Fieldname])

If we want to extract time from date time format then we can use PadLeft function to remove time pads the beginning of the returned string. This means that, when used with right-to-left languages, it pads the right portion of the string. If the PadLeft method pads the current instance with white-space characters, this method does not modify the value of the current instance.

=PadLeft(Day([Fieldname]),2,’0′) + ” + PadLeft(Month ([Fieldname]),2,’0′) + ” + Right(Year([Fieldname]),2)

In Acumatica Cloud ERP, we create a calculated column that shows a date field formatted as Year, Quarter. i.e. July 21, 2021 to show “2021, Q4”

use the expression editor in the “Data Field” with the Switch formula.

07 Date field formatted as Year
08 Result DateField Formatted as year

Hope this blog will help you to understand various date formats in Acumatica.

About Us
Greytrix – a globally recognized and one of the oldest Sage Development Partner and a Salesforce Product development partner offers a wide variety of integration products and services to the end users as well as to the Partners and Sage PSG across the globe. We offer Consultation, Configuration, Training and support services in out-of-the-box functionality as well as customizations to incorporate custom business rules and functionalities that require apex code incorporation into the Salesforce platform.

Greytrix has some unique solutions for Cloud CRM such as Salesforce Sage integration for Sage X3Sage 100 and Sage 300 (Sage Accpac). We also offer best-in-class Cloud CRM Salesforce customization and development services along with services such as Salesforce Data MigrationIntegrated App developmentCustom App development and Technical Support to business partners and end users.
Salesforce Cloud CRM integration offered by Greytrix works with Lightning web components and supports standard opportunity workflow. Greytrix GUMU™ integration for Sage ERP – Salesforce is a 5-star rated app listed on Salesforce AppExchange.

The GUMU™ Cloud framework by Greytrix forms the backbone of cloud integrations that are managed in real-time for processing and execution of application programs at the click of a button.

For more information on our Salesforce products and services, contact us at salesforce@greytrix.com. We will be glad to assist you.