Jump to content

Best way to get a date into a URL


Recommended Posts

Hey group

 

Struggling to set up some date choices for a URL.

So the URL is structured like this:

/admin/schedules?unit_instance_id=345&from_date=03%2F04%2F2022&to_date=04%2F04%2F2026

 

I am getting the first part unit_instance_id from a list filter, but how can I get the from_date and put in the escape characters '%2f' instead of slashes?

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...