HomeForumSourceResearchGuide
Sign in to contribute to source. how it works
Type definition file time.DateTime by barry
expand copy to clipboardexpand
/* { "description" : "A simple data type to describe a date and time, typically using a Gregorian calendar system."} */

data DateTime {
	/* { "@description" : "The year."} */
	int2 year
	/* { "@description" : "The month, indexed from 1."} */
	byte month
	/* { "@description" : "The day of the month, indexed from 1."} */
	byte day
	/* { "@description" : "The number of hours into the day."} */
	byte hour
	/* { "@description" : "The number of minutes after the hour."} */
	byte minute
	/* { "@description" : "The number of seconds after the minute."} */
	byte second
	/* { "@description" : "The number of milliseconds after the second."} */
	int2 millisecond
	}
Revision history
To propose a new revision to this entity, use dana source put -ut your/new/version.dn -n time.DateTime -m "reason for update" -u yourUsername
Version 2 (this version) by barry
Notes for this version: Updates to documentation strings.
Version 1 by barry