Life has to be something better than what we can see around us. It must be a kind of utopia that’s just beyond that hill, or just a little bit after the horizon. Whatever the case, it has to be there. I don’t see any other way on how this would work. I think it’s up to us to make life better than it is. Does that make sense? I sure hope it does to someone who’s reading this. If it does then I’ve done something right. If it doesn’t? Well that’s another story for another time.
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