Обсуждение: proper way to convert ctime to timestamp

Поиск
Список
Период
Сортировка

proper way to convert ctime to timestamp

От
GB Clark
Дата:
Hi,

I'm working with a legacy version of nagios.  In it's database routines
it uses datetime(abstime(%lu)) to input time/date info.  I've replaced those
to use abstime(%lu).  What would be the proper way to getting this done?

I've looked through the docs, but can't seem to come up with something
proper as abstime is undocumented as far as I can find.

Thanks for the help.

GB

-- 
GB Clark II             | Roaming FreeBSD Admin
gclarkii@VSServices.COM | General Geek           CTHULU for President - Why choose the lesser of two evils?