How do I set a variable to the current Date/Time

I'm trying to set a variable to the current date and time - I have sliders allowing users to select the date and time of their visit, and have a button to use the current date/time.  On tap of the button, I'd like to set the date variable to the current date in order to then display that date in the corresponding label.  I've played around with various versions of .getdate(), but it doesn't seem to work.  I'm also concerned that there may be a flaw with my variables being text and not being evaluated, but I was hoping to be able to use the set variable function to determine the value to update the variable with.  Thoughts?


Please sign in to leave a comment.