2) You are right and misunderstood your question.

The fact is on GAE you can have date, time and datetime field types
and you can search by date ==, <, >, <=, >= but you cannot manipulate
dates (+,month,day,year). For example you can do

  db(db.mytable.mydatefield>datetime.date(2009,12,31)).select()

but you cannot do

  db(db.mytable.mydatefield.year()==20010).select()


Massimo

On Apr 13, 2:11 pm, Yanni <apoe...@gmail.com> wrote:
> Thank you Massimo.
> re 1.  I noticed that I was looking at wrong views/controllers/etc ,
> and my applications DID load. I apologize for the false report.
> re 2. I will get back to you on this, on your FAQ I saw that GAE
> doesn't allow for time/datetime . I am probably confused.
> re 3. Thank you.
>
> On Apr 13, 11:54 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > On Apr 13, 1:44 pm, Yanni <apoe...@gmail.com> wrote:
>
> > > Ok, so I'm a bit confused.
>
> > > 1. I am using web2py on my Windows installation, however, after I stop
> > > and restart the service, all my work disappears (the views,
> > > controllers, etc).  How do I prevent this from happening?
>
> > This should not happening. I have never heard of it before. Which
> > web2py version? binary of source? Which windows version? How do you
> > start web2py?
>
> > > 2. Is there a way around GAE not allowing the timestamp option? The
> > > application I am planning requires that the date-submitted is written
> > > into the database, not necessarily the time.
>
> > Field('fieldname','datetime') works well on GAE. Perhaps I did not
> > understand the question.Try use it and if you enconuter any problem
> > show us the code.
>
> > > 3. Is there a list of plugins somewhere?
>
> >http://web2py.com/plugins
>
> > The list is partial. new ones will be posted. I did not have the time
> > yet to post users plugins.
>
> > Massimo


-- 
To unsubscribe, reply using "remove me" as the subject.

Reply via email to