Get Date Time value from datetime field in power portal/ power page using jQuery


TL;DR: This article explains how to get the date and time value from a datetime field in a Power Portal or Power Page using jQuery. It provides a code snippet that can be used to validate the date and time value and prevent users from submitting backdated values. The code compares the selected date with the current date and displays an alert if the selected date is in the past. This helps ensure that only future dates are allowed for submission.


Article 18m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time