08-25-2021 12:20 AM
Anyone have idea how to realize a product serialization automatically with the following format?
DDDMMYYYY
Where DDD can be 001 to 365, MM can be 00 to 12 and YYYY can be 0000 to 9999.
Thanks.
Solved! Go to Solution.
08-25-2021 01:51 AM - edited 08-25-2021 01:54 AM
Hi Tigres,
@RicardoCuevas wrote:
Anyone have idea how to realize a product serialization automatically with the following format?
I do have an idea! 🙂
@RicardoCuevas wrote:
with the following format?
DDDMMYYYY
What about using FormatIntoString with 3 numeric inputs and a format of "%03d%02d%04d"?
Or use FormatIntoString (or FormatDateTimeString) with a timestamp and a format of "%j%m%Y". (Be aware of limitations for timestamps and their formatting in LabVIEW!)
@RicardoCuevas wrote:
Where DDD can be 001 to 365, MM can be 00 to 12 and YYYY can be 0000 to 9999.
Which month gets the number "00"?
08-25-2021 09:23 AM
How about something like this?
08-25-2021 10:12 PM