As for below, will I also need to to add "time" somewhere into the table?
THX!!
no,
The table update after successfully downloading those records with a value of 0
will place a timestamp in the flag column
now() is the sql equivalent of php
time() timestamps are numeric and represents the number of seconds from 1/1/1970
currently in the range of 123460000 (last month included the unix milestone 1234567890 o'clock)
using a timestamp is better than a text date time, its smaller in the database, faster, can be compared easier as to prior or later dates, and on output can be whatever date format needed.
Last edited by almostbob; Mar 2nd, 2009 at 11:15 am.
Reputation Points: 562
Solved Threads: 368
Posting Maven
Offline 2,970 posts
since Jan 2009