# Date

- **Author**: Nithin Krishna
- **Category**: URL parameters
- **URL**: https://help.neetoform.com/articles/date

---

For pre-filling the date field via URL parameters, the **Field code** can be found under the **Advanced properties**.

[![Screenshot 2023-09-17 at 9.45.47 PM.png](https://assets-cdn.neetokb.com/rails/active_storage/blobs/proxy/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWt4WmprellXSXpZUzFpWlRjeUxUUTJORE10T1RGaE15MWlaR0k1WlRrMVlqZ3hZemdHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--83e2848f4223957f0ad0b42e5fe97ecb35678248/Screenshot%202023-09-17%20at%209.45.47%20PM.png)](https://assets-cdn.neetokb.com/rails/active_storage/blobs/proxy/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWt4WmprellXSXpZUzFpWlRjeUxUUTJORE10T1RGaE15MWlaR0k1WlRrMVlqZ3hZemdHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--83e2848f4223957f0ad0b42e5fe97ecb35678248/Screenshot%202023-09-17%20at%209.45.47%20PM.png)
_Advanced properties_

The date input field has 2 supported attributes. Date and time.

To pre-fill these attributes, you can use the field code along with the attribute.

- date\_input.date (Should be in **YYYY-MM-DD** format)
- date\_input.time (Can be in **HH:mm: ss** or **HH: mm** or **HH** format.)

Using the above, we can append the URL parameters to the form's URL:

[https://example.neetoform.com/0804bdaf5db6cd60f6ad?date\_input.date=2023-09-12&date\_input.time=21:12:12](https://example.neetoform.com/0804bdaf5db6cd60f6ad?date_input.date=2023-09-12&date_input.time=21:12:12)

[![Screenshot 2023-09-17 at 9.54.00 PM.png](https://assets-cdn.neetokb.com/rails/active_storage/blobs/proxy/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWxtTm1aak0yWTNNUzB6WmpZeExUUTJOamN0WVRaa055MW1OVGt5TnpZMU9EUTJOVEVHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--053f6adcd3f1a3637445919f3693fe46e2f7a619/Screenshot%202023-09-17%20at%209.54.00%20PM.png)](https://assets-cdn.neetokb.com/rails/active_storage/blobs/proxy/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWxtTm1aak0yWTNNUzB6WmpZeExUUTJOamN0WVRaa055MW1OVGt5TnpZMU9EUTJOVEVHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--053f6adcd3f1a3637445919f3693fe46e2f7a619/Screenshot%202023-09-17%20at%209.54.00%20PM.png)
_Date field is pre-filled with the date and time_