SingleDateAndTimePicker icon indicating copy to clipboard operation
SingleDateAndTimePicker copied to clipboard

how do I get date and time in Epoch??

Open danklad opened this issue 4 years ago • 1 comments

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!

danklad avatar Dec 21 '21 07:12 danklad

long dateInEpoch = date.getTime()

ramseth001 avatar Jan 14 '22 03:01 ramseth001