BTW: a DATE field could accept a datetime passed to it but it will be always retrieved as DATE. a DATETIME field, on the other end, will be always retrieved as a DATETIME
On Friday, November 6, 2015 at 4:24:39 PM UTC+1, Richard wrote: > > Can you show us you model definition? > > I guess you have use date type and not datetime type in web2py model > definition or you may have not use the proper widget... > > Richard > > On Fri, Nov 6, 2015 at 9:35 AM, Garry Smith <gazz...@gmail.com > <javascript:>> wrote: > >> >> Hi >> >> I'm trying to something rarely simple, but I'm not getting the results >> what are in the database. >> I have a Date field which puts in the current time stamp eg 2015-11-06 >> 11:58:02, but when retrived I get 2015-11-06, >> so its just bringing back the date and not the time and date. Confused >> need help. >> >> Thanks >> >> G Smith >> >> -- >> Resources: >> - http://web2py.com >> - http://web2py.com/book (Documentation) >> - http://github.com/web2py/web2py (Source code) >> - https://code.google.com/p/web2py/issues/list (Report Issues) >> --- >> You received this message because you are subscribed to the Google Groups >> "web2py-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to web2py+un...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.