need help converting C code

BlitzMax Forums/BlitzMax Programming/need help converting C code

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Yeah, I'd be more inclined to use stat_ directly...

If you look at the source for FileTime :
	Local mode,size,mtime,ctime
	If stat_( path,mode,size,mtime,ctime ) Return 0

mtime and ctim are probably the ones you are most interested in.
I believe the time_t struct (that's the real param type for mtime and ctime) is simply an Int representing a unix time (from Jan 1970).