- Trending Categories
- Data Structure
- Operating System
- C Programming
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
You can try to run the following code to get the current year −
getFullYear() : 2017
- Get the days remaining in current year in Java
- Get current year in MySQL WHERE clause?
- How to get current day, month and year in Java 8?
- Java Program to get current date, year and month
- How to check Leap Year in Java 8 How to get current timestamp in Java 8?
- How to get year in android using year API class?