Update time on Raspberry-Pi

How to update date/time on Raspberry Pi B.I tried below commands:

sudo service ntp stop sudo ntp -gq sudo service ntp start 

But this din't work .

Also tried changing through "sudo raspi-config" and selected the region as Kolkata ,But It also din't work . sudo raspi-config

Current default time zone: 'Asia/Kolkata' Local time is now:      Sat Jul 23 00:38:01 IST 2016. Universal Time is now:  Fri Jul 22 19:08:01 UTC 2016. 


Category: linux Time: 2016-07-28 Views: 0

Related post

  • What is the command to update time and date from internet 2011-11-21

    What is the command to update time and date from Internet. Is there any application that allows me to do so graphically? --------------Solutions------------- You can do so with sudo ntpdate time.nist.gov other servers include time.windows.com, etc. h

  • Where can I see the most recent updated time and the other things list in windows 7? 2011-12-28

    Where can I see the most recent updated time and the other things list in windows 7 and is there any way to reverse it back once after updating the OS? --------------Solutions------------- Open Control Panel, then Programs and Features, then choose V

  • displaying updated time in aggregator block 2012-02-09

    I'm trying to add a line showing the last updated time for my RSS aggregator feed block (essentially the checked timestamp field from the aggregator_feed in a formatted manner). I'm not able to find a preprocess function that lets me get this value..

  • Last Update time in widget 2012-03-08

    I have a widget which can be updated every time with few values and admin update it on daily basis now how to get its last update time. --------------Solutions------------- When you save the widget, you can save a field (which won't be setable in the

  • mdadm update time and resync 2012-08-13

    I detached one half of my linux md raid1 (--fail --remove) to do some potentially risky filesystem work, to be sure I had a good copy on hand if things went bad. Things went well, and now I want to resync the now out of date half. Can I just --add it

  • How can I get last update time from ssh 2012-12-12

    I'm having problems getting last update time(like I see sometimes in Update Manager). Do you think it's possible to get from SSH a file/command that will show last update check for the current system ? Thank you --------------Solutions------------- L

  • How can I lessen the update time in outlook 2013 with out deleting his folders/sub-folders? 2015-02-17

    I am working with an end user, who is using Outlook 2013 on Windows 7. Our company also uses Office 365. The user currently has about 200+ folders/sub-folders. So every time the user opens up Outlook 2013 it takes hours to update, which prevents the

  • Getting the last data update time of a specific table in Oracle 2015-08-03

    How can I get the last update time of table, i.e. at what time the last operation (insert/update/delete) was performed on a table in oracle? I have tried using: SELECT MAX(SCN_TO_TIMESTAMP(ORA_ROWSCN)) from mytablename; But this gives me an ORA-08181

  • Log the time when raspberry pi connects to wifi 2015-11-20

    Is there a way to get the last time my raspberry pi connects to the wifi network defined in wpa_supplicant.conf? Thanks --------------Solutions------------- The solution is to install an NTP client, and configure a script on the directories that have

  • How to get the last updated time stamp of a field in field collection 2016-01-25

    How to get the last updated time stamp of a field in field collection.Is there any drupal built in function to get the timestamp

  • Add an hour to current date and show current time and updated time 2009-01-09

    I am getting date in the format as yyyy-mm-dd. I need to increment this by one day. How can I do this? --------------Solutions------------- Something like this should do the trick: String dt = "2008-01-01"; // Start date SimpleDateFormat sdf = n

  • What changes affect the updated time on a youtube video? 2010-08-26

    I'm working with a youtube feed and showing a set of videos in date order. Currently, I'm basing that on the updated field - that seemed appropriate at the time. However, I'm now seeing the same videos getting updated again and again, seemingly when

  • How to set Debian to automatically update time and date? 2011-08-14

    I have an old computer and BIOS counts the time slower than real ;) So, how can I set my OS to update the time automatically using the internet? If it updated the time only during booting, it would be enough. --------------Solutions------------- You

  • can dhcp, or domain controller, update time in client machine 2011-08-22

    I want to update the time on client machines in my domain. Can DHCP or Domain Controller update the windows time in client machines ?? if Yes, how to do that ? Please include steps --------------Solutions------------- Yep, DHCP can pass Option 42 NTP

  • What controls the Google Maps traffic widget updating "time to arrive"? 2012-06-23

    I have the Google Maps traffic widget on my Galaxy Nexus. The widget will show the traffic lights, but the times don't seem to update unless I log into maps by tapping the widget such that Maps loads. Is there a way to "force" the travel time fo

  • Set RSS feed update time 2012-12-08

    I want to update my feed just once a day. For example: I want to update the feed every day at 12:00 pm. How to do this without a plugin ? --------------Solutions------------- The RSS feed is "updated" every time you post something new. If you wa

  • I need a VB script that executes to update Time Server every time Windows starts up 2012-12-18

    I need the script to automate Time Server update. I suspect the internal battery that keeps time up-to-date is dead and I don't want to change the battery because I'll discard the laptop soon for a new one. Every time i start-up, I must - Right-click

  • How to programatically update time offset in a Featurized Rule? 2013-06-10

    I have a rule that compares the value of a date field to the current date. I also have a custom module with a config form that allows the user to set a number of hours of time offset. The rule is exported using Features, and I've edited the rule defi

  • Updating Time : ntpdate[3108]: the NTP socket is in use, exiting 2013-08-31

    The time on my system is incorrect for some reason. i need to run an update but i can't seem to be able to this is the errror. ntpdate pool.ntp.org 31 Aug 12:31:59 ntpdate[3108]: the NTP socket is in use, exiting i just rebooted, i do not know how an

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.704 (s). 13 q(s)