Generic Inquiry date output & formating

  • 16 June 2022
  • 2 replies

I need the date output in a GI to be yyyy/mm/dd for a third party integration but we use mm/dd/yyyy as a default. How can I flip this around?


Best answer by Naveen Boga 16 June 2022, 20:56

View original

2 replies

Userlevel 7
Badge +17

Hi @ebaker  We can do with the below formula. 

=Concat( CStr(Year([SOOrder.OrderDate])) , Cstr('/') ,  CStr(Month( [SOOrder.OrderDate])) , Cstr('/') ,  CStr(Day([SOOrder.OrderDate])))


Also attached screenshot for reference.


Userlevel 7
Badge +17

Hi @ebaker  You can also try with the below formula, which can add the 0 before the DATE and MONTH if the value is less than 10


Concat( CStr(Year([SOOrder.OrderDate])) , Cstr('/') , 
IIf(Month([SOOrder.OrderDate]) < 10, '0'+CStr(Month([SOOrder.OrderDate])), CStr(Month([SOOrder.OrderDate]))) , Cstr('/') ,  
 IIf(Day([SOOrder.OrderDate]) < 10, '0'+CStr(Day([SOOrder.OrderDate])), CStr(Day([SOOrder.OrderDate]))))




About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved