계속 질문만 올립니다.

 

SQLite  Table을 생성할때

default값으로 current_timestamp 을 선언했습니다.

 

ex)

create table TEST (

       _id integer  primary key autoincrement

     , content text not null

     , ins_date varchar(20) default  current_timestamp not null

);

 

매번 insert할때마다 시간을 넣어 주는게 귀찮아서 Default로 줬는데여

근데 단말의 시간보다 2시간정도 늦은 시간이 등록이 되어집니다.

 

단말의 현재       시간    2011-06-22 01:00:00

sqlite 등록 되는 시간    2011-06-22 03:00:00 

 

혹시 이런 경험이 있으신가여.

구글링에서 뒤져도 찾을수가 없내요...

 

^^;