Re: Html_select_date

From: Date: Thu, 21 Mar 2002 15:46:05 +0000
Subject: Re: Html_select_date
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3201@lists.php.net to get a copy of this message
Yep, the time attribute only takes a unix timestamp (or compatible date). I suppose we could support the separate entries of year/month/date to get around that? maybe look for time_day, time_year, time_month if time is not given, then adjust the function to accomodate this. olivier hericord wrote: > > Hi, what format has to have the 'time' Attribute in the html_select_date to > display A NON POST 1970 DATE. > > For a non post 1970 date the PHP function 'mktime' gives me a negative > number that doesn't seem to be understand by the HTML_SELECT_DATE function. > > I really need to display Birth date with this function and as u may know > there's a lot of people with a non post 1970 Date of birth, in fact every > body older than 32 .... :) > > Thanks > > Olivier > > --- > You are currently subscribed to smarty as: monte@ispi.net > To unsubscribe send a blank email to $subst('Email.Unsub') > Visit Smarty's homepage at > http://www.phpinsider.com/php/code/Smarty/ -- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.

« previous php.smarty.general (#3201) next »