Views:

Product: LABELVIEW, CODESOFT

Version: All Versions

 

NOTE: To create a custom date format within LABELVIEW or CODESOFT, a Date Field will need to be added. 

1. To add a Date Field, click Data Sources and locate Date, click Add

2. A window will appear with options for customizing the Date Field. Pre-defined formats are available to use. 

3. Scroll to the bottom of the Date Format window until Customized is shown.

4. With Customized selected, you may change to one of the formats as listed or create a customized date stamp using the codes listed on the right side. Ex. mmm-ddddd-yyyy = "APR-Monday-2020"

Date Setting

Output

Description

D and d

1

date of month (non lead zero)

DD

01

2 char date of month (lead zero)

dd

1

2 char date of month (lead space)

DDD

224

days from begin of year (lead zero)

ddd

224

days from begin of year (lead space)

DDDDD and ddddd

33482

days from 1/1/1900 (5 to 9 chars available)

W and w

1

day of week (Sun=1, Sat=7)

WW

34

weeks from begin of year (lead zero)

ww

34

weeks from begin of year (lead space)

WWW and www

783

weeks from 1/1/1900 (last 3 digits)

WWWW and wwww

4783

weeks from 1/1/1900 (4 to 9 chars available)

WWWWWWWWW

000004783

weeks from 1/1/1900 (lead zero)

wwwwwwwww

4783

weeks from 1/1/1900 (lead space)

M and m

9

month digit (non lead zero)

MM

09

2 char month digit (lead zero)

mm

9

2 char month digit (lead space)

MMM

009

3 char month digit (lead zero)

mmm

9

3 char month digit (lead space)

MMMM and mmmm

1101

months since 1/1/1900

MMMMM

01101

5 char months from 1900 (lead zero)

mmmmm

1101

5 char months from 1900 (lead space) (5 to 9 chars available)

MMMMMMMMM

000001101

9 char months from 1900 (lead zero)

mmmmmmmmm

1101

9 char months from 1900 (lead space)

YY and yy

91

2 digit year

Y and y

1991

full year

YYY and yyy

991

last 3 digits of year (3 to 9 chars available)

YYYYYYYYY

000001991

full year (leading zero)

yyyyyyyyy

1991

full year (leading space)


NOTE: It is recommended to use the internal drivers within LABELVIEW or CODEOSFT to use specific date formats. 

Date formats for printers are limited to the format available. Some may not support all date format types.                                                                                                                                                        Change the Date type from Software date to Printer date to see available formats supported by your printer.