Tags » Timezone

Time zones in Java 8 Date and Time API

Introduction

I know for a fact that all programmers love working with time zones. Chances are high that you, as a reader of this blog, are also a programmer so I bet you also just love time zones. 526 more words

Java

Why do we keep checking time, all the time?

|| BY SOURADEEP ROY ||

A: “Excuse me, what time is it?”

We check the time every day, all day long. Did you ever wonder where time telling came from? 479 more words

Health & Lifestyle

11182016

Last Friday, we were at the school filming a video about volcanoes when it erupts. The video includes what to do before, during and after the volcanic eruption. 360 more words

How to get a current date in a specific time zone on Azure with c#

One simple DateTime.Now could become a big headache when you run your application on clound(e.g. Azure) and you need to know about the server location settings. 74 more words

C#

CentOS 6.8 & 7 - Change Timezone

Here is a cheat sheet on changing the timezone in a linux system (CentOS 6.8 or 7):

# Remove the current timezone file
rm /etc/localtime

# Create a symbolic link to the new timezone you want
# ls -la /usr/share/zoneinfo/
# ls -la /usr/share/zoneinfo/US/

# For GMT
ln -s /usr/share/zoneinfo/GMT /etc/localtime
# For EST
ln -s /usr/share/zoneinfo/EST /etc/localtime
# For UTC
ln -s /usr/share/zoneinfo/UTC /etc/localtime
# For GMT
ln -s /usr/share/zoneinfo/GMT /etc/localtime
# For New York (Eastern)
ln -s /usr/share/zoneinfo/US/Eastern /etc/localtime
# For Central
ln -s /usr/share/zoneinfo/US/Central /etc/localtime
# For Mountain time
ln -s /usr/share/zoneinfo/US/Mountain /etc/localtime
# For Pacific time
ln -s /usr/share/zoneinfo/US/Pacific /etc/localtime

# Set Date and Time (as needed)
# MMDDHHmmYYYY
date 072522172010
hwclock --systohc

# If you're using NTPD Service
# CentOS 6.8
service ntpd stop && service ntpd start
# In CentOS 7 
systemctl stop ntpd && systemctl start ntpd

… 43 more words
Linux

Linux set/change time zone

  1. Check your time zone in ” /usr/share/zoneinfo/ ” directory

e.g.

ls /usr/share/zoneinfo/Asia/Kolkata

2. Unconfigure current time zone

unlink /etc/localtime

3. Configure new time zone

ln -s /usr/share/zoneinfo/Asia/Kolkata /etc/localtime

Linux Installation

Roco Verre Personalised Mirror World Map Timezone Wall Clock 5 Dials

Roco Verre Personalised Mirror World Map Timezone Wall Clock 5 Dials
$375.56End Date: Monday Nov-14-2016 12:02:52 PSTBuy It Now for only: $375.56Buy It Now | Add to watch list… 15 more words