Results 1 to 1 of 1
Yesterday, 16:15 #1
- Join Date
- Dec 2005
- 0 Post(s)
- 0 Thread(s)
[Drupal] How do I format simple PHP date field inside EFQ
Having a small issue trying to display my date field in a certain way inside my EFQ.
I setup a event content type and set DATE format, worked very well using views but defaults to something else in EFQ.
VIEW - 15 March, 2014 - 22:00
EFQ - 2014-03-15 22:00:00
How do I change it so my EFQ prints the date like it does in my view?
Just not sure what PHP code to add or where to add it?
'#markup'=> '<strong>When:</strong> ' . $node->field_event_date_and_time['und']['value'],
Any ideas how to change it?
Thanks, cbThe more you learn.... the more you learn there is more to learn.