+ 1
Special Characters
I have noticed that in some strings, certain characters appear that have special functions, like (if I am not mistaken) "%t", which I believe gives the current time. Could someone explain to me what the list of these special characters are, and, if possible, how Java understands and interprets them?
2 Respostas
+ 6
All the best to your rubber ducking approach! 😉
Here's a good read for you:-
https://dzone.com/articles/java-string-format-examples
+ 1
So I was looking to an answer for my question, and I believe I have an answer.
If you create a "Date" Object (imported in Java.util), supposedly, that holds the current date and time. If you print it out, it prints the current date and time.
Let me check to make sure.