Yyyy-Mm-Dd To Yymmdd Follow

0
Avatar
Legacy Poster

Hi There, 

I'm very new to Bartender and am moving over from easy label. There's a couple of things I want to do which I haven't quite figured out yet. 

 

1. Our labels currently have an expiry date format of YYYY-MM-DD. I've created a text input box but i don't know how to control the parameters so I can ensure they enter YYYY-MM-DD. 

 

Then, i'd like to take that date, and convert it to YYMMDD for the GS1 Barcode. 

 

How do i do this?

 

Thanks!

 

2 comments

0
Avatar
Shotaro Ito
Comment actions Permalink

Assume you have BarTender 10.0 or later.

On Template design, create a text(TXT_EXPDATE), in datasource > data type, select Date. Specicy yyyy-MM--dd format.

On Data entry form, create a text input box and link to label text above (TXT_EXPDATE).

The entered date (ex. 2016/1/1) will be formatted to yyyy-MM-dd (ex. 2016-01-01).

 

On barcode's expiry date data source, set data source to Object Value of TXT_EXPDATE.

Apply truncation transform to drop 2 from left.

Apply character filter transform to take digits only.

 

See attached sample.

0
Avatar
Legacy Poster
Comment actions Permalink

Can you save a version of this label for version 9.3?

 

Arigatou gozaimasu!

Please sign in to leave a comment.