Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const date = moment(new Date());
- this.today = moment(date)
- .locale('fa')
- .format('YYYY-M-D'); // get today from persian calendar
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement