How to find difference between two fields Date and Time (start and End) fields ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2024 05:34 AM
How to find difference between two fields Date and Time (start and End) fields ?
Scenario:
- Add two fields on Catalog item , Fields Name: 1. Start Date and time (Data type: Date and time) 2. End Date and Time (Data type: Date and time).
2 .Start date should not be more than 30 minutes from current time .
3. There should not be less than difference of 60 minutes between start date and end date .
Please help me on this.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2024 06:22 AM
Hello @RAM75 ,
You need to get value of current time and then need to add condition that Start date and time should < than 30 minutes from current time . and start date -end date <60 min like that. Refer images and update it according to your req.
Please accept my solution if it works for you and thumps up to mark it as helpful.
Thank you!!
Thank you!!
Dnyaneshwaree Satpute
Tera Guru