There are a lot of things in this life I don’t quite understand. I get it, maybe life isn’t meant to be understood? I’m not sold that’s the case though. There has got to be some things I am to understand or at least grasp with my limited knowledge, at least one would hope! (I sure as hell hope I can grasp something in this life. Anything really.) Alas here I am, simply wondering how this life is meant to turn out. I’m not sure I get how it’s all meant to go at times. Am I meant to simply be okay with that thought process? I don’t know. Perhaps we aren’t meant to understand anything in this life, and all this learning is but for nothing? Nah, that can’t be the case. We can’t be spinning our wheels for all these years, just to find out it’s all for nothing. That’s silly and ridiculous. If I can but learn one thing in life, it would be how to deal and cope with whatever tends to come my way. There has to be something I am able to do about it all without the overthinking and thought pro...
For some reason my installation of Java wouldn't let me use SimpleDateFormat to format my dates. So I had to google a different way to do this and found the following works as well. The Date class has a bunch of issues with it to begin with, so this is much cleaner and better as well.
LocalDateTime ldt = LocalDateTime.now();
DateTimeFormatter df = DateTimeFormatter.ofPattern("MM/dd/yyyy", Locale.ENGLISH);
String formattedString = df.format(ldt);
Comments
Post a Comment