Had a sleepless night last night. No matter what I did I couldn’t fall asleep. I’m not sure what’s up with that? Is it the smoke in the air from the fires? I mean yeah I’m experiencing shortness of breath and wheezing because of the smoke in the air. It feels like I have something in my throat that won’t go away. It would be nice if it did go away though, I’m not sure how that’s supposed to work. It seems like I never know how this life tends to work at times. I wish I did though, that would be a good thing! Yet here I am, and I’m suffering in silence do to it all. I kept tossing and turning last night. Every time I thought I was going to fall asleep, I actually didn’t fall asleep. My back hurts too. [Wife] thinks it’s stress related, that could be the case. Eh, who knows how any of this life works most of the time? I sure as hell don’t! I need to have a good nights rest at times. I know [Wife] doesn’t sleep worth a damn either and she suffers from it. I wish that wasn’t the case. I ...
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