It'd be nice to be able to insert date & time from
quicktype. A set of special keys could provide a flexible
way to do this
For example:
&DTS, &DS, &TS could generates same as graffiti-ing it
does usingteh PalmOS shortcuts.
More interesting, though, it'd be nice to also insert
infromation in an arbitrary format, similar to Unix date
command:
e.g.
&DATE+%Y
-> 2003
&DATE+%A
-> Monday
&DATE+%a
-> Mon
&DATE+%A, %B %d, %Y at %T
-> Wednesday, October 22, 2003 at 14:23:07
FYI, here's an excerpt from a Unix man page with the
different display options of the Unix date command.
Obviously not all of these are relevant for the PalmOS,
but a subset would be nice to have in Quicktype.
----
%A
the full weekday name in the current locale (for example,
Sunday).
%a
the abbreviation for the weekday in the current locale
(for example, Sun).
%B
the full month name in the current locale (for example,
February).
%b
the abbreviation for the month name in the current locale
(for example, Feb).
%C
the first two digits of the year (19 or 20).
%c
the appropriate representation of the date and time in
the current locale.
%D
the date in the form mm/dd/yy.
%d
the two-digit day of the month as a number (01 to 31).
%e
the day of the month in a two-digit, right-justified,
blank-filled field ( 1 to 31).
%H
the hour in the 24-hour clock representation (00 to 23).
%h
the same as %b.
%I
the hour in the 12-hour clock representation (01 to 12).
%j
the numeric day of the year (001 to 366).
%M
the minute (00 to 59).
%m
the month number (01 to 12).
%n
a newline character.
%p
the equivalent of AM or PM in the current locale.
%R
the 24-hour time (for example, 14:53).
%r
the 12-hour time in the current locale's equivalent of
AM/PM notation (for example, 11:53:29 AM in the POSIX
locale).
%S
the seconds (00 to 61). Note that there is an allowance
for two leap seconds.
%T
the 24-hour time (for example, 14:53:29).
%t
a tab character.
%U
the week number in the year, with Sunday being the first
day of the week (00 to 53). All days before the first
Sunday of the new year are in week 0.
%u
the weekday number with Monday being 1 and Sunday
being 7.
%V
the week number in the year, with Monday being the first
day of the week (01 to 53). If the week containing
January 1 has four or more days in the new year, it is
week 1 of the new year; otherwise it is week 53 of the
previous year.
%W
the week number in the year, with Monday being the first
day of the week (00 to 53). All days before the first
Monday of the new year are in week 0.
%w
the weekday number, with Sunday being 0 and Saturday
being 6.
%X
the appropriate time representation in the current locale.
%x
the appropriate date representation in the current locale.
%Y
the four-digit number of the year (for example, 1998).
%y
the two-digit year (offset from %C).
%Z
the time zone name (for example, EDT).
%z
equivalent to %Z.
Logged In: YES
user_id=93695
Have you already looked at InsertTimeDA, available at
http://www001.upp.so-net.ne.jp/h-yama/da/takahashi-da/?
Maybe this and &DA: works for you.
Logged In: YES
user_id=414750
InsertTimeDA is good for standard vanilla date & time stamps.
For that I can also use the standard shortcut sequences.
(Three strokes to save eight)
I'd like a more generallized way to define, e.g. a key that will
autotype for me "Thursday, November 6, 2003 at 2:23 AM"
or
2003-11-07
or
some other time/date-related formats that I like to use
regularly (e.g., in a log file, meeting minutes, etc.)
That's why I like the flexiblity of something like what the Unix
date command provides. If it were in quicktype I could
potentially get 20-30+ chars for the price of a single tap or
flick!