Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

how do I get date and time in Epoch?? #331

Open
danklad opened this issue Dec 21, 2021 · 1 comment
Open

how do I get date and time in Epoch?? #331

danklad opened this issue Dec 21, 2021 · 1 comment

Comments

@danklad
Copy link

danklad commented Dec 21, 2021

I'm only being able to get date and time in a string format eg: Tue Dec 28 16:55:00 GMT+05:30 2021 in onDateSelected method.
Can anyone tell me how to get date and time in epoch with this library!
Thanks in advance!

@ramseth001
Copy link

long dateInEpoch = date.getTime()

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants