Definitions of the tables in SQL Server

How are the definitions of the tables in SQL Server?
Well I think I’m having a problem with dates. When you save a task, saves a completely different date.

This is the definition of my tables:

CREATE TABLE gantt_tasks (
id INTEGER NOT NULL IDENTITY(1,1) PRIMARY KEY,
text varchar(255) NOT NULL DEFAULT ‘’,
start_date smalldatetime NOT NULL DEFAULT ‘2014-01-01 00:00:00’,
duration INTEGER NOT NULL DEFAULT ‘0’,
progress float NOT NULL DEFAULT ‘0.0’,
sortorder INTEGER NOT NULL DEFAULT ‘0’,
parent INTEGER NOT NULL DEFAULT ‘0’);

CREATE TABLE gantt_links (
id INTEGER NOT NULL IDENTITY(1,1) PRIMARY KEY,
source INTEGER NOT NULL DEFAULT ‘0’,
target INTEGER NOT NULL DEFAULT ‘0’,
type varchar(1) NOT NULL DEFAULT ‘’);

Hi,
the table definition looks correctly. If you writing asp.net application, the problem can be caused by the culture settings of the system.
By default application uses the local culture to parse request dates, decimals, etc.
Gantt uses following format for sending the dates “%d-%m-%Y %H:%i”, docs.dhtmlx.com/gantt/api__gantt … onfig.html
The result date string can be interpreted differently in different cultures. Try setting the invariant application culture and appropriate xml date format