HomeForumSourceResearchGuide
Sign in to contribute to source. how it works
Type definition file time.TimeDOS by barry
expand copy to clipboardexpand
uses time.DateTime

/*
{ "description" : "Utility interface to convert between DateTime instances and MS-DOS date and time formats."}
*/

interface TimeDOS {
	
	/* { "@description" : "Convert a DateTime instance to an MS-DOS-format time."} */
	int2 toDOSTime(DateTime dt)
	
	/* { "@description" : "Convert a DateTime instance to an MS-DOS-format date."} */
	int2 toDOSDate(DateTime dt)
	
	/* { "@description" : "Convert from an MS-DOS-format date and/or time to a DateTime instance."} */
	DateTime fromDOSTime(int2 date, int2 time)
	
	}
Revision history
To propose a new revision to this entity, use dana source put -ut your/new/version.dn -n time.TimeDOS -m "reason for update" -u yourUsername
Version 1 (this version) by barry
Notes for this version: Standard Library Initialisation