use the following search parameters to narrow your results:
e.g. subreddit:pics site:imgur.com dog
subreddit:pics site:imgur.com dog
advanced search: by author, sub...
~5 users here now
Links:
date and time in json
submitted 1 year ago by troubleshooter from time.jsontest.com
view the rest of the comments →
[–]troubleshooter[S] 1 insightful - 2 fun1 insightful - 1 fun2 insightful - 1 fun2 insightful - 2 fun - 1 year ago (2 children)
take it up with the https://www.jsontest.com json testing website.
they probably know more about json that both you and me combined.
i have been studying about javascript and devtools and xmlhttprequest and web sockets.
https://www.youtube.com/watch?v=NLdH33JmscM
[–]ID10T 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - 1 year ago (1 child)
I thought this was a personal project. Not trying to be a dick, just offering helpful advice. The reason to use the ISO 8601 format is to avoid ambiguity, you should always provide the timezone when providing a timestamp. The Unix timestamp (milliseconds from epoch) is unambiguous. And if your program was to read that, you get the correct time without question. The time and date however, without providing a timestamp, a programmer using that data could make a wrong assumption that the timezone was their local timezone.
This isn't a JSON issue, it's just generally programming advice, to avoid ambiguity whenever possible, in order to avoid bugs. Just trying to be helpful. I have over 10 years experience as a professional software developer at a senior level.
Time and date handling is incredibly difficult and one of the greatest sources of bugs in computer programming. Between localization, different applications of daylight savings time, leap years, etc. there are an amazingly large number of ways to make mistakes when dealing with time and date. Always use libraries with dates, never try to roll your own date/time code. You will almost without fail create some sort of bug.
[–]troubleshooter[S] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - 1 year ago (0 children)
Time and date isn't always something that cares about the international time in my projects.. usually, I have approached projects that simply need 1000ths of a second timer and I have always been good with that
My first code was Atari basic on an Atari 400 in 1983, back when the original PC was selling, the PCXT, a very very slow PC.
https://files.catbox.moe/3povqp.wav
view the rest of the comments →
[–]troubleshooter[S] 1 insightful - 2 fun1 insightful - 1 fun2 insightful - 1 fun2 insightful - 2 fun - (2 children)
[–]ID10T 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (1 child)
[–]troubleshooter[S] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (0 children)