Custom date field

More
14 years 1 month ago #5683 by yopyop001
Replied by yopyop001 on topic Custom date field
May be like that :
Code:
$dateformat = $field->parameters->get( 'date_format', '' ) ; $customdate = $field->parameters->get( 'custom_date', '' ) ; $dateformat = $dateformat ? $dateformat : $customdate; $query = "SELECT.... FROM .... ORDER BY STR_TO_DATE('field_name',JText::_($dateformat));

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #5684 by Olinad
Replied by Olinad on topic Custom date field
I didn't use the code you provided, but with that function it now works :D Thank you :)

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #5733 by micker
Replied by micker on topic Custom date field
it's cool !
:lol:

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.256 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline