In WordPress, we can use the get_the_author_meta(string $field) function to retrieve the author’s details stored in the database object. get_the_author_meta() […] Continue reading »
In Java 8, we can use ZoneId.getAvailableZoneIds() to get all unique zone id and LocalDateTime to get UTC offset of […] Continue reading »
In Java 8, we can use Period.between(startDate, endDate) method to find out the difference between two LocalDate instances. Period is […] Continue reading »
In Java 8, ZoneId.getAvailableZoneIds() method return all available unique ZoneId and we can loop it for display. static Set<String> getAvailableZoneIds(); […] Continue reading »
In Java 8, we can use LocalDateTime.now(ZoneId.of(String zoneId)) to get current LocalDateTime instance of the zoneId and Duration to calculate […] Continue reading »
In this short article, we’ll learn how to calculate the difference between two dates in Java 8. We can use […] Continue reading »
In IntelliJ IDEA, type sout and press the Enter or Tab button from your keyboard to generate System.out.println() automatically. P.S. Tested with IntelliJ IDEA 2019.3.3 (Community Edition) […] Continue reading »
In IntelliJ IDEA, type main and press the Enter or Tab button from your keyboard to generate public static void […] Continue reading »
In this article, we will show you a few ways to create/generate a unique token in Java. Creating a unique […] Continue reading »
This guide will help you to create the Spring Boot REST API for forgot password. The password recovery feature is […] Continue reading »
This guide will help you to fetch the Top 10 latest Posts/Articles in WordPress. The orderby clause in WP_Query class […] Continue reading »