how to get year in react

146

how to get year in react -

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

Comments

Submit
0 Comments