05.01.2013 Views

Downloading - Weber Marking Systems

Downloading - Weber Marking Systems

Downloading - Weber Marking Systems

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

get_week_of_year_iso(value)<br />

get_year(date_value)<br />

Appendix A: Data Expressions<br />

This function returns the year number based on the algorithm outlined<br />

in ISO 8601. Week number one of any year is defined as the first<br />

week of the year where the majority of its days (four or more) are in<br />

that year. Also, weeks are defined as starting on Monday.<br />

Please note: This function is not compatible with Legi 220. For<br />

compatibility with Legi 220, use the function get_week_of_year().<br />

The year 2000 breaks down as follows.<br />

Week Date Day<br />

52 of 1999 Jan. 1 Saturday<br />

52 of 1999 Jan. 2 Sunday<br />

1 Jan. 3 – 9 Monday – Sunday<br />

2 Jan. 10 –16 Monday – Sunday<br />

.<br />

.<br />

51 Dec. 18-24 Monday – Sunday<br />

52 Dec. 25 – 31 Monday – Sunday<br />

Returns the year for a specified internal date value<br />

Parameters: Date value.<br />

Example: get_year(get_current_date())<br />

Result: 1993<br />

Note: The current date is June 11, 1999.<br />

See also:<br />

format_date<br />

get_current_date<br />

get_date_value<br />

get_day<br />

get_day_of_week<br />

get_job_start_date<br />

get_job_submit_date<br />

get_julian_day<br />

get_month<br />

get_week_of_year<br />

Legitronic User Manual (v3.4) 158

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!