
Wavescaling Date and Time

packertesting
Good day,
I have numbers in a wave which I scaled with Date & Time and a Delta of 0.1 Seconds.
The scaling starts at 07.08.2025 10:50:00.0 and ends 07.08.2025 11:52:00.6.
The values above I know, because I have written them down on a paper.
How can I get the start and end date and time of this wave through IGOR?
When I enter wavestats wave1 it shows me V_minloc= 3.83741e+09; V_maxloc= 3.83741e+09.
These are the start end end seconds since 1904. However, the values are rounded and in seconds. But I would like to have Date and Time with fractions of seconds.
Thanks a lot for your help.
You need to use Secs2Date() and Secs2Time() to covert from seconds to a formatted date/time string. Here is a little test which should give you an idea (note that the function Time2Sec_Conversion() is only necessary for this demonstration):
Which gives:
August 27, 2025 at 08:22 am - Permalink
Thank you very much Chozo - that works!
August 28, 2025 at 06:42 am - Permalink