How Are Dates Handled in BarTender 2022
Question
How are dates handled in BarTender 2022?
Applicable to
BarTender 2022 R6
Answer
Date Handling For BarTender 2022 R5 And Prior
Dates are stored as text strings and interpreted and formatted according to the the Windows OS system locale settings for most data sources. While this works well in general, it can lead to conflicts with respect to dates contained in GS1 Barcodes which until now had been formatted to US format (mm/dd/yyyy) and could thus lead to conflicts with some system locale date formats for non-US based regions.
For example: when the user's system locale date format is set to dd/mm/yyyy and they have a GS1 barcode that contains the date 10th of November 2022, it will be specified as 11/10/2022 in the barcode. Due to the system locale settings, however, this date string would be interpreted as the 11th of October 2022.
Date Handling Starting With BarTender 2022 R6
In order to resolve this issue, starting with BarTender 2022 R6, dates for GS1 barcodes will use a more generic universal date format (yyyy/mm/dd). This will avoid conflicts with the date formats specified in the system locale settings.