Jump to content
  • 0

Time Convert From Unix To Java


Question

Posted (edited)

Basically i want to convert UNIX timestamp to Java date in format this format "dd.mm.year hour-1 :: hour+1".
I tried to make it on my own, but it seems for a newbie like me is to hard, could someone give a quick tip/guide? Thank you in advance.

Edit: i CAN make it happen, but the code itself is very shitty, after taking -1 hour (for example it's 00:00, so -1 will make 23:00, but in my case it makes 0-1:00 :( ) and tone of appends

Edited by Pleyne

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock