add new task       

Task ID:  213  "Reporting a variable out of tracker which is a date produces an error in the year"    
 
Created by admin on 2006-10-03 12:18 AM, 4400 days ago
Project:  Module Code
Category:  Bug
Priority:  low
Assigned to:  hol353  
Status:  closed
Apsim Version:5.0
Your Name:
Contact Details:
 
 

show inline images      show change history

 comment 30933 posted by hol353 on 2009-09-18 2:20 PM, 3319 days ago 
If you have a tracker variable called:

value of today on flowering as floweringdate

and then output the variable

floweringdate format dd/mm/yyyy

Then all works ok. I think the old 'date' function of tracker was removed some time ago.
 comment 212 posted by admin on 2006-10-03 12:18 AM, 4400 days ago 
"Reporting a variable out of tracker which is a date produces an error in the year709
REPORTED BY   Lilley, Julianne  DATE
REPORTED      
ASSIGNED TO   Not Assigned (Unchecked)  5/17/2006  
 
DESCRIPTION   Reporting a variable out of tracker which is a date produces an error in the year i.e output date is 24/Mar/2935093 variable = tracker1.wheat_anthesis_date as w_anth_date format dd/mmm/yyyy tracker1 module variable = date of wheat.flowering as wheat_anthesis_date every single year of simulation produces the same year value (2935093)  
ACTIVITY   Simulation using .sim files  
WORKAROUND   all differenct sequences of d, m, and y tried no apparent way of outputing date including year, OK to out put day and month only. Default works, but excel is not parsing this date correctly so I would like to output month as mmm  
 
APPLICATION   APSIM  VERSION   5.0