how to get year in react

141

how to get year in react -

getYear() {
    return new Date().getFullYear();
}

Comments

Submit
0 Comments