I am making an app that tracks when employees are scheduled to work. On the main page, I would like to display the person who is scheduled to work on the current date. I also have it so people can request days off with a date picker. I would like to set the date picker to the current date when they use the app.
Additionally, the date picker returns values as strings (so i've been working with the dates in my databases as strings), but everything I've found so far about getting the current date in java script or jquery returns the current date in date format. This would make me unable to compare the current date to the data I have in my databases, since they are in string format.
How can I get the current date as a string?