emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Sean Sieger <sean.sieger@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: date stamp
Date: Thu, 22 Feb 2007 14:10:32 +0100	[thread overview]
Message-ID: <278a80aa683e25af65d8cda820a7be84@science.uva.nl> (raw)
In-Reply-To: <87bqjmqt66.fsf@gmail.com>

This is operating system dependent.  It depends on what kind of integer 
the OS
uses to represent time.  I believe if it is an unsigned integer, the 
minimum
date is Jan 1, 1970.  If it is a signed integer, it goes back to 1901 
or so.
Max date in both cases is somewhere 2038.  This will all go away only 
with 64 bit
systems.

Why do you need such a date?  Most likely a birthday?  You can use the 
Emacs
diary to set such birthdays - the calendar/diary can handle this.

- Carsten

On Feb 22, 2007, at 13:21, Sean Sieger wrote:

> When I do `C-c .' and then `1969-03-25' I get:
>
> Debugger entered--Lisp error: (error "Specified time is not 
> representable")
>   encode-time(0 11 7 25 3 1969)
>   org-read-date(nil totime)
>   org-time-stamp(nil)
>   call-interactively(org-time-stamp)
>
> on Ubuntu 6.10/Emacs 23.0.0.1
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>

--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

  reply	other threads:[~2007-02-22 13:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-22 12:21 date stamp Sean Sieger
2007-02-22 13:10 ` Carsten Dominik [this message]
2007-02-22 21:33   ` Sean Sieger
2007-02-22 23:54     ` Alan Dove

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=278a80aa683e25af65d8cda820a7be84@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=sean.sieger@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).