Frank Looking around, I don’t recognize where I am. The last thing I remember is going to bed in my home. Now I’m laying in an open field in my pjs. Sitting up, I see the field is filled with snow. It is indeed cold out and I’m freezing. I stand up and look to the sky. “Why won’t you leave me alone?!” I shout to the sky. I’m mad at whoever is doing this to me. Be it God or one of his angels, I do not know. There has to be a reason for it all. I don’t know what that reason is. What I do know is I’m cold and wet from the snow, best find someplace to dry off. I pick a direction and walk for a while. Eventually I come across a cabin. It’s a standard log cabin with four sides and a roof. Nothing out of the ordinary. I rap on the door with my fist. There’s no answer. Trying the doorknob I find it unlocked, so I enter. There’s a fireplace and a small bed in the corner. I start a fire. It heats the place quite nicely. Taking off my socks, I let them dry out next to the fire. Grabbing a b...
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