mysql 中数字型日期字段

$sql="SELECT id from erp where year(FROM_UNIXTIME(start_date))=".$year." and month(FROM_UNIXTIME(start_date))=".$month." and  day(FROM_UNIXTIME(start_date))=".$d." and siteid=".$siteid." and display_value=1 limit 1";

    A+
发布日期:2010年02月23日  所属分类:未分类

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: