fingerpich / jalali-angular-datepicker

Highly configurable jalali (shamsi, khorshidi, persian) date picker built for Angular ( 2 or more ) applications
https://fingerpich.github.io/jalali-angular-datepicker/
MIT License
152 stars 61 forks source link

Get unix/timestamp #103

Closed hosseinGanjyar closed 5 years ago

hosseinGanjyar commented 5 years ago

This isn't a bug! I want a solution for: How to get unix time from selected date, same as 1535879620549? Thanks

fingerpich commented 5 years ago

Search for moment and unix format you should ask this kind of questions in stackoverflow, please!

hosseinGanjyar commented 4 years ago

Have you understood my issue? I've solved this: moment(1569492703, 'jYYYY/jMM/jDD HH:mm').unix()

fingerpich commented 4 years ago

Somehow but I thought you can find better solution in the SO.