VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me

Seminar module manager date format
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Seminar module manager date format

Seminar module manager date format 10 Feb 2014 22:40 #3909

Hi all,

Here: new.ivao.ch/index.php/event/booking-syst...rfe-geneva-departure as you can see, the STD (ex. Start time) is formatted as 00:00 as i want. Now, in the admin and in mysql the hour is showed correctly, but in the front end i see 00:00, don't know why...How can i solve this problem?

Thanks in advance!

  • Posts:6
  • gianluzzz
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Seminar module manager date format 11 Feb 2014 11:04 #3918

Maybe you have not displayed correct data?

  • Posts:502
  • theres no place like joomfreak.com
  • m.freak
  • Platinum Boarder
  • OFFLINE
  • Karma: 0

Seminar module manager date format 11 Feb 2014 13:03 #3923

This is what I put in the default_courses.php

<td headers="qf_start_date" nowrap="nowrap"><?php echo date('H:i', strtotime($course->start_date)); ?></td>

As you can see, the date that I want to see only is: H:i not Y-m-d H:i as default...
If i put in the echo also Y-m-d I see correctly the date but i still see 00:00 for the hours...In mysql i set the start_date query as datetime but...doesn't change nothing...
Help me

Regards

  • Posts:6
  • gianluzzz
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Seminar module manager date format 11 Feb 2014 17:43 #3927

because you use function for time "strtotime()", and the DB give date.

  • Posts:502
  • theres no place like joomfreak.com
  • m.freak
  • Platinum Boarder
  • OFFLINE
  • Karma: 0

Seminar module manager date format 11 Feb 2014 20:52 #3932

Thanks for your replay
So how can I add the time also? Thanks!

  • Posts:6
  • gianluzzz
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Seminar module manager date format 12 Feb 2014 11:49 #3943

Is google not allowed in your country? php.net/manual/en/datetime.format.php

  • Posts:502
  • theres no place like joomfreak.com
  • m.freak
  • Platinum Boarder
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
  • 2
Time to create page: 1.00 seconds
Thursday 28 March 2024

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.