[lug] Why can't I set my date

Steve Sullivan steve.sullivan at mathcom.com
Thu May 14 16:04:14 MDT 2015


Not sure if Bear was in jest or not, but he may have a point.
You wrote
  sudo date -s '+next month'

But maybe you meant without the "+":
  sudo date -s 'next month'

Is date "+..." trying to increment by 2015 years?
Not quite the end of the world, but still :)

Steve

On Thu, May 14, 2015 at 03:34:50PM -0600, Bear Giles wrote:
>    You're trying to set it to a date after the end of the world.
>    On Thu, May 14, 2015 at 3:33 PM, Michael Hirsch <[1]mdhirsch at gmail.com>
>    wrote:
> 
>      On Thu, May 14, 2015 at 2:03 PM, Simos <[2]blug at chinesetearoom.com>
>      wrote:
>      > Michael,
>      >
>      > Is this a virtual machine by any chance?
> 
>      No, this is my Dell tower under my desk.
>      Michael
>      >
>      >> On Thu, May 14, 2015 at 1:09 PM, Stephen Queen <[3]svqueen at gmail.com>
>      wrote:
>      >> > Try
>      >> > sudo date -s '+next month'
>      >>
>      >> Thanks for the suggestion, but:
>      >>
>      >> [606] ~>sudo date -s '+next month'
>      >> [sudo] password for mhirsch:
>      >> Sun Jun 14 13:19:35 MDT 2015
>      >> [607] ~>date
>      >> Thu May 14 13:19:36 MDT 2015
>      >> [608] ~>
>      >>
>      >> --Michael
>      >>
>      >> > On Thu, May 14, 2015 at 1:01 PM, Michael Hirsch
>      <[4]mdhirsch at gmail.com> wrote:
>      >> >>
>      >> >> I'm testing some calendar sensitive stuff, so I'm trying set my
>      Ubuntu
>      >> >> desktop to be in the future.  Though I've set my clock hundreds of
>      >> >> times in the past, it isn't working any more.
>      >> >>
>      >> >> I've tried the commandline:
>      >> >> sudo date -s  "01 Sep 2015 12:53:00"
>      >> >> sudo date -s 'next month'
>      >> >> and a few dozen variations on this.  Date prints out the date I
>      >> >> requestion, but the clock is actually unchanged:
>      >> >>
>      >> >> 595] $>sudo date -s 'next month'
>      >> >> Sun Jun 14 12:58:35 MDT 2015
>      >> >> [596] $>date
>      >> >> Thu May 14 12:58:38 MDT 2015
>      >> >> [597] $>
>      >> >>
>      >> >> I've also tried to use systemsettings (the KDE admin GUI) and it
>      >> >> behaves similarly.  I set the date and press "Apply".  The gui
>      seems
>      >> >> to have a different date, but it refreshes in a few seconds with
>      my
>      >> >> original date and time.
>      >> >>
>      >> >> WTF?  This used to be easy.
>      >> >>
>      >> >> Oh, I was running ntpd but I turned it off.
>      >> >>
>      >> >> Any ideas?
>      >> >>
>      >> >> Cluelessly yours,
>      >> >>
>      >> >> Michael
>      >> >> _______________________________________________
>      >> >> Web Page:  [5]http://lug.boulder.co.us
>      >> >> Mailing List:
>      [6]http://lists.lug.boulder.co.us/mailman/listinfo/lug
>      >> >> Join us on IRC: [7]irc.hackingsociety.org port=6667
>      channel=#hackingsociety
>      >> >
>      >> >
>      >> >
>      >> > _______________________________________________
>      >> > Web Page:  [8]http://lug.boulder.co.us
>      >> > Mailing List:
>      [9]http://lists.lug.boulder.co.us/mailman/listinfo/lug
>      >> > Join us on IRC: [10]irc.hackingsociety.org port=6667
>      channel=#hackingsociety
>      >> _______________________________________________
>      >> Web Page:  [11]http://lug.boulder.co.us
>      >> Mailing List: [12]http://lists.lug.boulder.co.us/mailman/listinfo/lug
>      >> Join us on IRC: [13]irc.hackingsociety.org port=6667
>      channel=#hackingsociety
>      >>
>      >>
>      > _______________________________________________
>      > Web Page:  [14]http://lug.boulder.co.us
>      > Mailing List: [15]http://lists.lug.boulder.co.us/mailman/listinfo/lug
>      > Join us on IRC: [16]irc.hackingsociety.org port=6667
>      channel=#hackingsociety
>      _______________________________________________
>      Web Page:  [17]http://lug.boulder.co.us
>      Mailing List: [18]http://lists.lug.boulder.co.us/mailman/listinfo/lug
>      Join us on IRC: [19]irc.hackingsociety.org port=6667
>      channel=#hackingsociety
> 
> References
> 
>    Visible links
>    1. mailto:mdhirsch at gmail.com
>    2. mailto:blug at chinesetearoom.com
>    3. mailto:svqueen at gmail.com
>    4. mailto:mdhirsch at gmail.com
>    5. http://lug.boulder.co.us/
>    6. http://lists.lug.boulder.co.us/mailman/listinfo/lug
>    7. http://irc.hackingsociety.org/
>    8. http://lug.boulder.co.us/
>    9. http://lists.lug.boulder.co.us/mailman/listinfo/lug
>   10. http://irc.hackingsociety.org/
>   11. http://lug.boulder.co.us/
>   12. http://lists.lug.boulder.co.us/mailman/listinfo/lug
>   13. http://irc.hackingsociety.org/
>   14. http://lug.boulder.co.us/
>   15. http://lists.lug.boulder.co.us/mailman/listinfo/lug
>   16. http://irc.hackingsociety.org/
>   17. http://lug.boulder.co.us/
>   18. http://lists.lug.boulder.co.us/mailman/listinfo/lug
>   19. http://irc.hackingsociety.org/

> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety


-- 

========================================
Steve Sullivan      steve.sullivan at mathcom.com
720-587-7498        http://www.mathcom.com
========================================


More information about the LUG mailing list