Question T14929
Visible to All Users

How to retrieve the time

created a year ago (modified a year ago)

[Ticket cloned from T14642: data collect]

Hello,

"How to automatically retrieve the time? I can retrieve the date, but not the time."

surveyjs defaultvalueexpression times() current

Thank you!

Answers

created a year ago

Hello,
If you wish to retrieve a time part from a value, implement a custom function which would return a required value. You can use custom functions in default value expressions.

For more information on how to implement custom functions, please refer to the 'Implement a Custom Function' example at https://surveyjs.io/form-library/documentation/design-survey/conditional-logic.

Please let me know if you have any further questions.