s_uniformdate

Top 

 

If a data format changes under agreed input forms it is given in a standardised, comparable data form. The Returnwert in the mistake case is 0.

 

Parametre

With an easy use no parametres must be used.

Nevertheless, will hand over more than one date one of the following parametres is to be given.

 

/oldest

if the older one of both dates returns

 

/newest

if the newer one of both dates returns

 

Nevertheless, the input must as occur in the examples.

Syntax

4 data formats are supported:

JJ, e.g., 06

JJJJ, e.g., in 2006

JJJJMMTT, e.g., 20060320

TT.MM.JJJJ, e.g., 20/03/2006

 

e.g.

German input

s_uniformdate 12/31/2006

or

American input

s_uniformdate 20061231

Example

s_uniformdate 12/31/2006

Issue:

2,006.1231

or

s_uniformdate 20061231

Issue:

2,006.1231

 

With two dates:

s_uniformdate 12/31/2006 12/30/2006/oldest

Issue:

2,006.1230

or

s_uniformdate 12/31/2006 12/30/2006/newest

Issue:

2,006.1231

 

Tip:

 

Wrong input: s_uniformdate in 2006, 12, 31 At least one date must be valid. One 2-puts annual information it is complemented to 20jj, is 20jj >2006, is returned 19jj.