[tw] Help: Auto-creating tiddlers with date, time of creation as titles ...

2011-08-19 Thread Shankar

I would like to create a button that would create a tiddler with the
title in the following format:

MMDD_HH:MM
with the time, date corresponding to the time of creation.

I need the month two be always in two digits - as in '08' for August,
for example, and time to be in  24-hour format as in '13' for 1:00 PM,
for example.

I am not able to get the month in two digit format, and time in 24
format with just hours and minutes.

If you have some thoughts, please let me know.

Thanks.

Cheers; 'best,
shankar

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@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.



Re: [tw] Help: Auto-creating tiddlers with date, time of creation as titles ...

2011-08-19 Thread Grant Croker
Hi,

Try:

newTiddler title:{{new Date().formatString(0MM0DD_0hh:0mm)}}
 label:Test

Regards

grant

2011/8/19 Shankar shankar.sw...@gmail.com


 I would like to create a button that would create a tiddler with the
 title in the following format:

 MMDD_HH:MM
 with the time, date corresponding to the time of creation.

 I need the month two be always in two digits - as in '08' for August,
 for example, and time to be in  24-hour format as in '13' for 1:00 PM,
 for example.

 I am not able to get the month in two digit format, and time in 24
 format with just hours and minutes.

 If you have some thoughts, please let me know.

 Thanks.

 Cheers; 'best,
 shankar

 --
 You received this message because you are subscribed to the Google Groups
 TiddlyWiki group.
 To post to this group, send email to tiddlywiki@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.




-- 
Grant Croker
former part-time gardener and pool-boy

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@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.