在你的ORACLE设置文件中可以设置时间格式.
如果你用的是WIN2000的话,请在注册表中设置.
也可以用 TO_CHAR(sysdate,'YYMMDD HH24MISS')来改变日期的格式

解决方案 »

  1.   

    What's the meaning of the Date d = new 
    Date(Long.parseLong("1000000000000"));
    why need to use the 1000000000000 to get the 2001-09-09 date, how to caculate?and other question if i need to email reminder, that's mean i have a timesheet table and have an attribute in this table (submission_date). If the date in this attribute is late for each monday then we need to automatically to generate an email to reminder the staff to submit their timesheet. This procedure is in oracle or in jsp? i can't find any method to realise.
      

  2.   

    select to_char(sysdate,'yyyy-mm-dd') from dualselect to_char(sysdate,'HH24:MI:SS') from dual