JohnBarulich1
6 years agoQrew Cadet
JavaScript and Date field from table
I am writing some code in which a portion of my task is to retrieve the records from the current day. At first I used the milliseconds returned from the date fields, where I checked to see if the milliseconds given was in between the start of the day and the end of the day. No luck.
Then I tried to using the milliseconds given, created a Date object from it, and created a string of the date from that Date object, which would look like 3272019. I then compare this date string to a string created from the current day.
Both of these were attempts to retrieve records from the current day. Any help would be great
Then I tried to using the milliseconds given, created a Date object from it, and created a string of the date from that Date object, which would look like 3272019. I then compare this date string to a string created from the current day.
Both of these were attempts to retrieve records from the current day. Any help would be great