wkempees
Posts: 1679
|
| Posted: 09/13/2008, 6:46 AM |
|
Href Source... Parameters (second):
Source Type: Expresion
Parameter Source: CCFormatDate(CCParseDate($this->DataSource->f('tour_departure_date'),array("yyyy", "-", "mm", "-", "dd", " ", "HH", ":", "nn",":","s")), array("dd",".","mm",".","yyyy"))
Parameter Name: tour_departure_date
$this->EventDescription->Parameters = CCAddParam($this->EventDescription->Parameters, "tour_departure_date", CCFormatDate(CCParseDate($this->DataSource->f('tour_departure_date'),array("yyyy", "-", "mm", "-", "dd", " ", "HH", ":", "nn",":","s")), array("dd",".","mm",".","yyyy")));
Note this is written for a standard MySQL default date, check your settings.
Why did you not just link on the event_id?
Walter
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)
if you liked this info PAYPAL me: http://donate.consultair.eu
|
Jack_Walter
Posts: 39
|
| Posted: 09/13/2008, 7:27 AM |
|
Quote :Note this is written for a standard MySQL default date, check your settings.
This date field only uses the yyyy-mm-dd version (no time) so shortening your parameter source to:
CCFormatDate(CCParseDate($this->DataSource->f('tour_departure_date'),array("yyyy", "-", "mm", "-", "dd")), array("dd",".","mm",".","yyyy"))
did it.
Quote :Why did you not just link on the event_id?
Mh, good question. It was (for me) more obvious to use something that was already visible for the user As long as those things are working afterwards... I'm happy 
Thank's a lot for your help Walter! Always appreciated!
If you're bored and have too much time (ok, I don't think that's the case ) do you probably want to solve this little issue here?: http://forums.codecharge.com/posts.php?post_id=100362
Regards,
Jack
|