QuestionQ14

VerifiedVariables and Arguments

A process uses a DateTime variable named "Timestamp." The developer needs to print the variable in the Output panel using the format "yyyy-MM-dd hh:mm." Which expression should be used to display its value?

Explanation

DateTime.ToString("yyyy-MM-dd hh:mm") converts the DateTime value to its text representation using the supplied custom format string.

Community Discussion

No comments yet. Be the first to start the discussion!