> What should be happenning is if pubdate is entered by user as 
"2013-12-25" or "June 18, 1965" etc... Then pubdatets should be "20131225" 
or "19650625" etc..  

>From the source code I found the magic word is "set".
This form catches the user input in "pubdate" with "set=" and reformats the 
date to the format you specify in fmt=
The result is "time_pubtime".

[form id=boltform]
Publish On:  [text pubdate size=14]  [submit SAVE]
[command time_pubtime set="{=pubdate}" fmt=%m/%Y/%d ]
[command savedata pubdate,time_pubtime ]
[form]
pubdate: {:pubdate}
time_pubtime: {:time_pubtime}

This works with all date formats and even with "tomorrow".
Greetings, Martin

-- 
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/boltwire.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to