Keyword

Date Fields

  • Stuart Brown
  • Stuart Brown's Avatar Topic Author
  • Offline
  • New Member
More
9 years 2 months ago - 9 years 2 months ago #146047 by Stuart Brown
Date Fields was created by Stuart Brown
Hi, new to the community.

I'm having some issues with adding date fields through K2. I'd actually like to use more than one date format in the site, but appears that this is not possible however I could get around that by formatting the output of the individual date fields in the php template file.

What would really interest me though is to have a date field which would accept an optional To and From value so I could display start and end times.

Is this possible?

Thanks in advance.
Last edit: 9 years 2 months ago by Stuart Brown.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 2 months ago #146054 by Krikor Boghossian
Replied by Krikor Boghossian on topic Date Fields
You can create extrafields and assign these dates there.
There are several posts on how to format extrafield date values on this forum.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Stuart Brown
  • Stuart Brown's Avatar Topic Author
  • Offline
  • New Member
More
9 years 2 months ago #146059 by Stuart Brown
Replied by Stuart Brown on topic Date Fields
Yes, thanks I think I understand how to format the output of a field.

I would still like a to and from option. the only way I can think of doing it is using two date fields.

Incidentally am I supposed to see a time option in the extrafields date fields? I don't see how I can add a time to the dates, thanks.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 2 months ago #146096 by Krikor Boghossian
Replied by Krikor Boghossian on topic Date Fields
The date is saved in the MM:DD:YYYY HH:MM (or DD:MM) format.
You can try adding the time manually.

Also you are correct, you need to add two separate fields.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum