Hope I can get some help with this. Using an export scenario to create a CSV file, data is populated from a GI. Dates in the the GI are shown without a timestamp but when the data is prepared, any date field has a timestamp. Is there anyway to stop that being created, my customer is using the CSV for a file upload to their bank and it fails on the timestamp.
Answer
Export scenario is creating date field with timestamp
Best answer by Ankita Tayana
Hi
Acumatica stores all DateTime fields in the database, even if the GI displays only the date. When exporting, it defaults to the full ISO format unless you override it. Modify the GI to include a calculated field that explicitly formats the date as a string, stripping the timestamp.
This converts the DocDate into a string with no timestamp, e.g., 2025-05-05
=Format([Table.DateField], "yyyy-MM-dd")
if your bank requires a different format (e.g., MM/dd/yyyy); just update the format string accordingly.
Hope this helps!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.