Java SQL Date toLocalDate() MethodThe toLocalDate() method of Java Date class creates a LocalDate instance. It uses the year, month and day from this date object to create an instance. SyntaxParametersNA ReturnsIt returns a LocalDate object which represents the same value of the date. Example 1Test it NowOutput: Current LocalDate is = 2018-09-01
Next TopicJava SQL Date
|