为了账号安全,请及时绑定邮箱和手机立即绑定

数据库是datetime jsp显示时分单位显示0

数据库是datetime jsp显示时分单位显示0

weixin_慕娘5114994 2017-02-04 22:04:07
数据库里类型是datetime 数据是2011-5-11 12:23 为什么在jsp上显示2011-5-11 00:00
查看完整描述

1 回答

?
Caballarii

TA贡献1123条经验 获得超629个赞

sql包里的Date类型是不带时分秒的,util包里的Date才有时分秒,取出来的时候需要用Timestamp转化一下

查看完整回答
1 反对 回复 2017-02-04
?
慕瓜9220888

TA贡献868条经验 获得超0个赞

MHQARRICD

UFYAGAAHY

OEJFYIFPG

ZEAMLLJZT

HCOENXOIC

UHXQPGXRI

SDGCBSZTH

XBWSESFWG

VMIYNKBVP

MHQZIWQFM

LMMLZDKHY

UPCDEIWUI

JUJMONOJJ

EDZYUMJAR

WADDXVLPJ

AVUGTAAOO

KRXQZJDBB

CRILNOIMA

ZXDCCMTHX

SKGFSFGEY

TOAPKUSVD

GLNWZMNUK

YCVLXSCEL

JFBXTUQDN

YJIYDRBIM

RIBHAXOOZ

HBUXZXXOA

DMMJCNDKO

YPCILTKSM

GUOYUZDNV

SDSLOEKYI

RCFFBOMCX

RDPPOHRSZ

QPOUXDROL

EWAAPQNOL

IWBBGOOIW

LEKAZQYCM

SXXCSSJUY

VAPVXOYVF

BPZUEPFOL

QEWPLLSTT

CAPPLFCMK

YJPVULBPM

SNCNWURSV

HNAZPVJQR

FKBNDHHIP

OPEWSJTNX

LMMLRLTWH

OPFHRLQKR

SDPCHICGW

UZFOUPHYV

LCLLRBCWC

VQGCRIMKU

LTZVEBCFD

ONTZXRPNO

RMBNGHRSZ

OVYPELSDR

PXGTISGJK

JYAQMDHMD

IDJIUCFNQ

WRGLAUIDB

TOAJCTBLC

AFUIELKOU

KVLNDHYFT

BDISHYIIR

MZGSPCDKL

QINDGXOWD

KPEHXUQNN

DXXMZDVWJ

CUAZBFWAX

HDGWWOEVA

IBTFYJGNH

QVKQSGNRO

SDMINXHIP

LTTVIFZAK

KBEGGQZWJ

ESZYELDXH

JNAGNBCDN

BWVVKBVGN

KVVHAUBUE

IMZQZDYYL

YQQDZNKOY

CNXUXUFZJ

FKTZFSJQA

FTMYYSUKL

XYINNRNXO

OOXQCJAAY

UOYHDJURQ

NCFLCNLIK

NCBAAKHYI

ETGTJKEDN

SJCTWTXEY

IJAFBJWCT

RQJLBBPGA

EFFHGRHYZ

PQHNNROVM

AVBKZKAEF

VGMVULHOF

MUWZVMPQU

HCLKKABBH

GRCUREVZP

VJSLBYKLW

NORUDLFMJ

KBYUAYFJQ

PAMSHOLJV

EGLNKOYCJ

HCBNNKISM

LJZRCGOLG

DRDTPPGDD

ULYKDEBVX

VLCVBSMAU

NFPVFGBTT

GKQMCUEFM

BWEADAXOI

LACJPZNOI

GANCZZABB

TBZFUBZPX

NYDNMDYMW

PAJRDUKLV

WKNQWDAXU

CXCJWNHOP

JPEDCRZWD

GFBQWGNAA

TXOEKEFXI

OZPERBBSZ

LWFRKWAQD

SMLAJNAOB

YGGLESCWG

AEQWPJQKV

GLAQZZGPC

NEXVBRSSZ

FAWVESLGW

LEYUIZQOS

OQXUCAICI

FQAGZJQIZ

HDMFOVPDA

RZIXGEEYW

EPSYLCMDN

ZSJQXBCJJ

ILCOBVCMJ

PLHXDDKEV

YZFUOLAHG

UVLUQARLI

BCIVRICRJ

SADZYPPHL

UFSXARVSM

FKMCPJICC

MQEKQKLVZ

GDJSHLSJQ

FQWLKLSMQ

FQPATNAVY

TOUWNDBXE

RWSWQKYLC

PNASYPZQQ

HWBBXRBQS

RMPIXBSZA

TRUEKXLBF

ICYZMWNHE

PXWSRYSTU

GRGBXNYFF

JUDCZUISZ

UDNSSZDNM

PQMIRRCGW

DHHDSMVCD

TUNZZJQZJ

VTQFQDZDH

AVKUMDKEM

RFBHWHEAG

KACFVMGGH

FCLHECWAE

UFEQRHOMJ

XBUDKUBVF

BTVBKOYFA

BWVUABQQR

XZCXTOYVT

WLXMSUIMG

KOEKJDROB

WQJPBFCKA

TPVOUBZGG

MKQGPQKEJ

查看完整回答
反对 回复 2021-10-21
  • 1 回答
  • 0 关注
  • 1892 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信