|
From: Ethan M. <eam...@gm...> - 2020-04-21 22:27:45
|
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 |