Thanks Morris,
But the "modified" time and date of a tiddler is not what I want to
sort by.  I am using the FormTiddler plugin to create additional data
fields to define a "start date" to a project, and then want to sort
results by this start date.  The start date may be years in the past,
and may not coincide with the tiddler created or modified dates.
Cheers
Trent

On Jan 19, 12:19 am, Morris Gray <msg...@symbex.net.au> wrote:
> Try
>
> tiddler.modified.formatString("YYYY.0MM.0DD)
>
> Morris
>
> On Jan 18, 11:33 pm, yardbird <trent.jor...@gmail.com> wrote:
>
> > Thanks Alan,
> > I played with this for a while but couldn't get it to work for me as a
> > script.
> > I've realised my bigger problem with what I'd like to do is that, I'd
> > really like to sort the foreachtiddler by the input date:
> > sortBy
> >  'tiddler.data("startdate")'
> > However, because it seems to only recognise this field as a string it
> > won't sort as a date.  I guess I need someway to force the string
> > variable into a date.
> > Cheers
> > Trent
>
> > On Jan 16, 9:29 am, AlanBCohen <alanbco...@gmail.com> wrote:
>
> > > I'm not a JavaScript programmer, but I'd expect you might get some
> > > ideas on formatting dates 
> > > from;http://www.webdevelopersnotes.com/tips/html/10_ways_to_format_time_an...
> > > Some of the complex form examples for FormDataPlugin on the author's
> > > site use a mix of JavaScript and ForEachTiddler commands that may also
> > > give you some hints.
> > > I'll be watching with great curiosity to see how this plays out.
> > > Please post the solution if you find it for yourself.
>
> > > Alan
-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.


Reply via email to