#ifndef utime__
#define utime__

#include "..\inc\swilib.h"

typedef long UTIME;//secs since year X

UTIME Now();
UTIME DateTime2Utime(TDate* date,TTime* time);
UTIME DateTime2Utime(int year,int month,int day,int hour,int min);
float Utime2Hours(UTIME u);
UTIME Hours2Utime(float h);


#endif
