Re: Time epoch?

Ethan Merritt <[email protected]>
Newsgroups gmane.comp.graphics.gnuplot.user
Message-ID <4342919.SK8Ni9zkeT@stonelion>
On Tuesday, 21 April 2020 14:45:50 PDT Reginald Beardsley via gnuplot-info wrote:
> What is the time epoch date for the time format data?  
> I want to do curve fits to time data, but have been unable to sort out what date and time is T-zero.

In gnuplot version 4 the epoch date was 1 Jan 2000.
In gnuplot 5 it was switched to 1 Jan 1970 to conform with unix standard
date commands.

You should be able to confirm this for your particular gnuplot by typing
"help time".

Starting with gnuplot version 5.2 there is also an option to use 
relative time formats %tH %tM %tS.  These have no epoch date,
they simply convert between a text string and an absolute number
of seconds, positive or negative.   For these formats T-zero is 0.

	Ethan 





_______________________________________________
gnuplot-info mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.