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.
Question
Pleyne
Basically i want to convert UNIX timestamp to Java date in format this format "dd.mm.year hour-1 :: hour+1".
Edited by PleyneI 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
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 accountSign in
Already have an account? Sign in here.
Sign In Now