Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > General Discussion > General Support

General Support Questions about using the Easy PHP Calendar. (Not installation or customizations)

Closed Thread
 
Thread Tools Search this Thread Display Modes

Old 01-21-2004, 01:04 PM   #1
RockyRR
Calendar User
 
RockyRR is offline
Join Date: Jan 2004
Posts: 5
Default

My calendar works fine when I enter dates and events via the Event Manager.

However, I have a problem when I load about 200 events into the escEvents table in the MySql DB.

The data in the data base looks good. I used a 'csv' file to load the data.

My problems are in the calendar display. They are:

1. Although all the dates in the DB are good, when I view events via event manager, the first half (approx.) of the list all have a date of 12-31-1969 (data in event field is ok).

2. Also, when I view the actual calendar, the only events that show up are those that I manually entered. None of the events I loaded show on the monthly calendar (no colored day or hand and popup message).

Am I missing something, or can't I load up the DB this way?

Thanks,
Rocky

P.S. It's a really nice little calendar.
 

Old 01-21-2004, 02:37 PM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

My guess is that the dates you imported into the database are in MM-DD-YYYY format?

SQL explicitly expects YYYY-MM-DD for the format of dates.

Could this be it?
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 01-21-2004, 05:23 PM   #3
RockyRR
Calendar User
 
RockyRR is offline
Join Date: Jan 2004
Posts: 5
Default

Papa,

The dates on the MySql DB are in the correct format (YYYY-MM-DD). I converted my data to a csv file using Excel; I opened the file in Notepad to verify it; then, loaded it into the table (along with the other data). Looks fine! I can send you a screenshot if that would help.

Any other ideas?

Thanks,
Rocky
 

Old 01-21-2004, 05:50 PM   #4
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

A screen-shot and links sounds good. If you can PM me access to your AE file so I can look at what's happening.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 01-21-2004, 11:47 PM   #5
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

The problem lies in the way the scripts determine the current date which is used for marking the calendar. It is based on the Unix timestamp which is the number of seconds since 01-01-1970. Anything before that date will default to 12-31-1969.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 01-22-2004, 05:57 AM   #6
RockyRR
Calendar User
 
RockyRR is offline
Join Date: Jan 2004
Posts: 5
Default

Brian,

Ok, thanks for the feedback!

Rocky
 
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Search events tommisimo General Support 6 11-17-2006 01:24 PM
Multiple Dates incorrect BigG General Support 3 06-20-2005 03:50 PM
Showing events in from previous and next months in TOC. charlotte21 General Support 9 03-30-2005 09:25 AM
How do I display the Year in Events Listing? cbworks General Support 4 01-21-2005 01:12 PM
Old dates ? Andreas General Support 4 11-21-2004 06:20 PM



All times are GMT -4. The time now is 05:06 AM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |