Support

  1. djay
  2. General
  3. Thursday, April 17 2014, 09:19 AM
Hi

Admin

How to display only time using "date" field type.
Example -- 12:40 pm
I am creating astrological website where 2 fields are required

"Date of Birth"
"Time of Birth"
I don't know how to configure time format

http://www.php.net/manual/en/datetime.format.php

I have tried but unsucessful

Thanks
Djay
Accepted Answer
admin Accepted Answer
Admin
Hi,
easy profile not have a time field,

solution 1:
but you can use text field with Custom Format parameter set to
([0-1]?[0-9]|[2][0-3]) : ([0-5][0-9])
*** remove the spece from code, I add this because the forum render emoticon
and set format on custom like screenshot. now this field will only accept time like (H:MM or HH:MM)

solution 2:
use select field, you must insert all value of time of span like:
00:00|00:00
00:30|00:30
01:00|01:00
01:30|01:30
....
23:00|23:00
23:30|23:30
Attachments (1)
  1. more than a month ago
  2. General
  3. # Permalink
admin Accepted Answer
Admin
Hi,
sorry but we think not. Anyway you can use the workaround explained in this topic.
  1. more than a month ago
  2. General
  3. # 1
snehakolte Accepted Answer
What of Time of Birth ? Isn't it a valid user profie field ?
  1. more than a month ago
  2. General
  3. # 2
admin Accepted Answer
Admin
Hi,
sorry but time is not a field type that relates to the user profiling.
  1. more than a month ago
  2. General
  3. # 3
snehakolte Accepted Answer
Yes, it would be great if we have a time field, I too need a time field.
  1. more than a month ago
  2. General
  3. # 4
djay Accepted Answer
ok

thanx for your reply and help

Please include time field in feature request
  1. more than a month ago
  2. General
  3. # 5
admin Accepted Answer
Admin
Here reference for regex for time: http://regexlib.com/DisplayPatterns.aspx?cattabindex=4&;categoryId=5&AspxAutoDetectCookieSupport=1
  1. more than a month ago
  2. General
  3. # 6
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.