5 Nov
1999
5 Nov
'99
8:38 a.m.
Jos Yule wrote:
Hello! Ok, so i've read the how-to on generating auto ID's -
<dtml-call "REQUEST.set('ts', ZopeTime())"> <dtml-call "REQUEST.set('id', _.str(_.int(ts)))">
Got it :-) Change the first line to the following Tested(!) code: <dtml-call "REQUEST.set('ts',ZopeTime().strftime('%Y%m%d%H%M%S')"> I'll update the how-to to reflect this. Bill -- "They laughed at Columbus, they laughed at Fulton, they laughed at the Wright brothers. But they also laughed at Bozo the Clown." -- Carl Sagan