It is currently Mon May 21, 2012 7:41 pm

All times are UTC + 2 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Only date with datetime field
PostPosted: Mon Jul 25, 2011 4:52 pm 
Offline

Joined: Tue Jun 14, 2011 6:23 pm
Posts: 12
Hi,

How can I reference only the date of a datetime refered field in an xml view?

thanks a lot


Top
 Profile  
 
 Post subject: Re: Only date with datetime field
PostPosted: Wed Aug 17, 2011 11:49 am 
Offline

Joined: Mon Jul 05, 2010 1:54 pm
Posts: 138
Location: Brescia
you can use widget "date" as a parameter of your field, this display only date and write the datetime field in DB completing with time: 00:00:00
<field name="your_datetime_field" widget="date"/>

_________________
Nico The Brush


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 2 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:

Protected by Anti-Spam ACP