Chapter 5 : Using Processes

5.3.2.Date Conversion

Conversion

The Convert Date process allows you to convert a date variable into a

 

predefined format.

 

To convert the format of a date, proceed as follows:

 

1

Add the process Date Operation to your label program and click

 

2

OK

 

In the Value 1 box, create or select the date variable to be

 

 

converted from the available User Local variables, All Local

 

3

variables, Global variables or System variables.

 

In the Input Format box, select the format of the input date.

 

4

In the Operation box select Conversion

 

5

In the Result Variable box, select or create the variable in which

 

6

you want to save the value of the converted date and click OK.

 

In the Output Format box, select format to which the date is to be

 

7

converted

 

Click OK.

Example

The following example converts the date found in [D3]

 

V_Ordering_Date from the format mm/dd/yyyy to the format

 

dd/mm/yyyy and saves the result in the variable [D6]

 

V_Converted_Date

www.mcl-collection.com

October 2007

Page 145

Copyright © 2007 • MCL Technologies • All Rights Reserved

 

 

Page 145
Image 145
Datamax v1.1x user manual Date Conversion