The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
632 views

unix timestamp wrong time with rrdtools

I have problem with unix timestamp ( date +%s ). This command gives me a GMT time, however I am using CET, so the unix timestamp is in 1 hour late (and my rrdtool database too!). How I can change unix ...
4
votes
3answers
1k views

Faking the date for a specific shell session

I'm certainly trying to achieve something weird here, but I want to fake the date locally for a shell session on GNU/Linux. I need to black-box test how a program behaves at different dates, and ...
3
votes
9answers
5k views

Converting to and from epoch time

I often find myself needing to convert from one type of time to another, and haven't found a way I'm consistently happy with. Every time I do a quick google search, I come up with different (sometimes ...