How to save time in database?

I am trying to save time record only in the Backendless DB. I supposed I would need to format it in some way?
So what would be the best way to do this, assuming I have Java’s Date variable available in code?

Would I better of just using a String or can I save just Time without Date as well?

Hi @Jure S,
In my opinion the best way to save time to DB is to converting it to server time zone (e.g. UTC±00:00) and then saving it as long: new Date().getTime().
Then on the client side you obtain timestamp and convert it to client`s timezone.
Regards, Artur.

Thank you very much! I will try this immediately