cancel
Showing results for 
Search instead for 
Did you mean: 

How to get current System Year

Former Member
0 Kudos
47

Hello,

I have a requirement wherein I want to get the Current system year inside a webdynpro application ....what's the code to be written for that...?

Any help would be highly appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

monalisa_biswal
Contributor
0 Kudos

new java.sql.Date(System.currentTimeMillis()) will give you current system date.

Answers (2)

Answers (2)

Former Member
0 Kudos

Monalisa,

Problem resolved... Thanks for your help.

Former Member
0 Kudos

What is a "system year"?

Armin