> >Normally, I use EpochTime as internal date format for all of that, so I > >can simply add/subtract seconds -- and this is perfect. > >--> But how can I get an epoch time out from tDateTime? > > Take a look at: > > http://www.merlyn.demon.co.uk/pas-time.htm Afaik, such routines simply exist in sysutils.