Looking to create a feature where users can see what events are happening at a specific time.
What is the most efficient method to implement this request? For example, if I want to display all current events, should I submit a post request to /events/2009/09/29/8/23/
This process seems cumbersome, especially when dealing with multiple dates. It could result in URLs like /events/between/2009/09/29/8/23/2006/11/16/14/45/
Is there an easier (preferably using JavaScript) way to convert a date/time to a timestamp and pass it as an integer that can be converted back to a datetime in the view?