Setday

Revised Wednesday, July 14, 2010 5:30 AM PDT
By Mark Doornink
Article ID 178 (r1123)
Circulation  
PUBLIC


Insert Summary Here

Section 1

SETDAY - The system date

SETDAY is used to set the date used as "Today" by Dairy Comp. 

 "Today" is automatically set when the program starts 
  and is changed at midnight by the system clock.

 This date is important in that is used in the calculation of dozens of items, 
 including DIM, DCC, DSLH (days since last heat), etc.  Also, unless the enter event
 commands are set to prompt for EDAY (event date), this date is automatically used as 
 the event date for any events entered. 

 As a general rule, the use SETDAY should be avoided.  
 Events should be entered when they occur, and it is usually a serious 
 mistake to print reports prior to the day they are needed, especially 
 lists for synchronization or pregnancy examinations.  

 If your events are defined without EDAY (no date prompted), 
 be careful to use SETDAY to make sure the event dates are set properly! 
 Also, if the date is changed from today's date, remember to set it back 
 properly before running any reports. 

 "Today" can be changed by SETDAY switches.

 \*		System date
 \E		Date of the last event entered
 \T		Date of the last testday
 \@filename	Date of the file
 \date		Date can be any DC305 date
 \-n		Sets date back n days
 \+n		Sets date forward n days