DayPilot Forums

DayPilot is the best open-source Outlook-like calendar control for ASP.NET.
DayPilot Pro Demo (Calendar control)
» DayPilot Pro live demo (Calendar control)
DayPilot Pro Demo (Scheduler control)
» DayPilot Pro live demo (Scheduler control)
Home » Bugs » day Error?

day Error?

Hi Dan,

I have daypilot lite.

I have this problem :

if i have an Appointment in 15/01/2008 i see it in 13/01/08 .

maybe it's my mistake but i can't risolve it
Hope this helps

enrico - 1/15/2008 11:49:40 AM
I would guess you store the date and time in separate fields in the database and you supply just the time part as DataStartField. In such a case it adds 'today' as the date part. Please check the DB fields and let me know if that wasn't the problem.
Dan Letecky - 1/15/2008 8:50:53 PM

this is my sql select :

SELECT DcDocCommLav.ID AS Codice,DcDocCommLav.Data + DcDocCommLav.TimeBegin AS DataInizio, DcDocCommLav.Data + DcDocCommLav.TimeEnd AS DataFine .............

DataEndField = DataFine

DataStartField=DataInizio

i use sqlDatasource

enrico - 1/17/2008 6:53:08 PM
I would make sure that the SQL produces what you expect. Are you able to check the data source (e.g. by rendering it in a plain GridView next to DayPilot)?
Dan Letecky - 1/24/2008 11:40:01 AM
Post reply