0

I have this time stamp format:

var timestamp_format = "yyyy-MM-dd HH:mm:ss";

Which produced a result like:

5/25/2019 10:52:43

but I would like to have a carriage return between the date and time for this result:

5/25/2019 
10:52:43

How might I make that happen?

0

Sometimes, guessing just works!

var timestamp_format = "yyyy-MM-dd\nHH:mm:ss";

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.