Replies: 1 comment
-
The timestamps are Unix time in milliseconds, using:
new Date().getTime()
Documentation for that function can be found here:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getTime
To get Unix time in seconds, you'd divide by a thousand, and maybe round to
nearest integer, and feed that to some date-time class. Exactly what
depends on the language you are using to analyze the data. But you can
manually check using a variety of online tools (e.g.
https://www.epochconverter.com/ ; no affiliation).
…On Wed, Nov 2, 2022 at 2:42 PM Fatih Sogukpinar ***@***.***> wrote:
Hi all,
I am trying to find the start/end time of each experiment the
trialdata_csv or eventdata_csv files after running the download_datafiles
command. I can see the timestamps of each trial, but I would like to get
them in the date format (e.g., 11/2/2022, 1:42 PM) so that I can use the
data in a specific time range.
How can I achieve this?
Thanks a lot!
—
Reply to this email directly, view it on GitHub
<#553>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAM5SQKVAHACCVMNK2EU3ATWGKY25ANCNFSM6AAAAAARVM3W6M>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
fspinar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I am trying to find the start/end time of each experiment the trialdata_csv or eventdata_csv files after running the download_datafiles command. I can see the timestamps of each trial, but I would like to get them in the date format (e.g., 11/2/2022, 1:42 PM) so that I can use the data in a specific time range.
How can I achieve this?
Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions