I'm currently working with Angular and I have data in JSON format. My goal is to filter out items from the last 12 hours based on the "LastSeen" field of the data starting from the current date and time.
This is a snippet of my data:
{
"Products": [
{
"ProductID": "8",
"UserName": "User north",
"Date": "08/22/2018 09:58:09",
},
{
"ProductID": "732",
"UserName": "Ser",
"Date": "07/30/2020 22:31:26",
},
// more data here ...
]
}
Any insights on how I can achieve this filtering process?