> var when=new Date().formatString('YYYY0MM0DD-0hh:0mm:0ss');
...
> store.saveTiddler(title,title,text,who,when,etiquetas,null);
...
> TypeError: b.convertToYYYYMMDDHHMM is not a function"
> Why is this happening....why doesnt my date format work in my code??

The 'when' variable you define is a date, **formatted as text**.  But
the saveTiddler() function expects a Date **object**.  Try these
changes:

------------
var now=new Date()
var when=now.formatString('YYYY0MM0DD-0hh:0mm:0ss');
...
store.saveTiddler(title,title,text,who,now,etiquetas,null);
------------

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

----
TiddlyTools needs YOUR financial support...
Help ME to continue to help YOU...
make a generous donation today:
   http://www.TiddlyTools.com/#Donations

Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
   http://www.TiddlyTools.com/#Contact

-- 
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.

Reply via email to