datetime as integer