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.106 seconds

I jumped and started to work on a demo component... but 2 days later this demo component became the real component. I just showed today the end result to my customer and he turned to me and said... "this is more than I expected"... All of this is because Cook did cut about 70% of my work and provided me more ways to improve the usability of the component. The end result was 17 tables all related between than to generate a full dashboard for the travel agents. Thanks for Cook developers for such great tool. This component would not be possible to be done at short time with all the features in it
Griiettner (Forum)  

Get Started