Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

[ADDED] Dates.. and GMT? 05 Feb 2012 00:19 #1174

  • iconvisual
  • iconvisual's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Keen Joomla! 1.7 Developer
  • Posts: 53
  • Thank you received: 5
Hi All,

Having an issue with Dates.

Starting from the 'raw data', my Table has a field called property_purchasedate and it is INT(11).

This is from a legacy database as a Unix Timestamp field, for example 1211292000 which translates to 2008-05-20 GMT, and in local time is 2008-05-21 (GMT + 10).

So, in my j-Cook Table I have a field property_purchasedate which is a Date field.Set to Inherit. All good so far.

So when I display my property_purchasedate in my FrontEnd Layout with the Date field I get 2008-05-20. Which is obviously GMT.

How can I change the display of the Date field according to my Local Time (i.e. GMT+10)?

Any pointers, advice, suggestions much appreciated.

Thank you kindly,

Edward.
Keen Joomla! and PHP/MySQL developer. Excited about J-Cook.

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

Dates.. and GMT? 07 Feb 2012 13:10 #1184

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Date functionalities are not available yet.

Means that you have to write little bit.

I move the topic in 'New functionalities' and will develop this as soon as possible.

Stay in touch.
Coding is now a piece of cake

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

Re: Dates.. and GMT? 27 Jun 2012 08:17 #2699

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Try with a timestamp format available now.
Coding is now a piece of cake
The following user(s) said Thank You: edwardcox

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

  • Page:
  • 1
Time to create page: 0.056 seconds

Awards for the best Joomla app. This product is gonna win an award for this amazing job. Cook Self Service is the the best application from all over the Joomla universe ! It brings Joomla to a professional level really advanced for developers. It is a real fun to develop with it. The ACL part and security checks implementation are just... so much hours saved. I can now concentrate myself more on the design part and the creative works. Thank you so much. Guys I offer you all my congratulation ! Keep up the works because Joomla is needing it to increase the quality of extensions availables on the JED. I also learned a lot because I can see how to code at the proper place and I found all my answers reading the forum.
lack_hanson (JED)
          

Get Started