Changeset 4830 for temp/trunk
- Timestamp:
- 2006/09/17 12:47:41 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/admin/batch/daily.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/batch/daily.php
r4829 r4830 226 226 $base_where = "WHERE (create_date BETWEEN ? AND ?) AND customer_id <> 0 AND del_flg = 0 "; 227 227 //$where = $base_where . " AND (to_number(to_char(age(current_timestamp, order_birth), 'YYY'), 999) BETWEEN ? AND ?) "; 228 $where = $base_where . " AND current_timestampBETWEEN ? AND ? ";229 230 sfprintr( date("Y/m/d",strtotime( "-10 year")));228 $where = $base_where . " AND order_birth BETWEEN ? AND ? "; 229 230 sfprintr( date("Y/m/d",strtotime()); 231 231 232 232 233 233 $end_date = date("Y/m/d",strtotime("-10 year")); 234 $start_date = date("Y/m/d",strtotime("1 day" ,strtotime($end_date))); 234 235 235 236 236 237 $end_date = date("Y/m/d H:i:s", time()); 237 $start_date = date("Y/m/d",strtotime("1 day" ,strtotime($end_date))); 238 239 sfprintr($start_date); 240 238 $start_date = date("Y/m/d",strtotime("-10 year")); 239 241 240 // ǯÎðËè¤Ë½¸·×¤¹¤ë¡£ 242 241 for($i = 0; $i <= $age_loop; $i++) {
Note: See TracChangeset
for help on using the changeset viewer.
