Here is a custom function I made that will delete all files in a folder older than N time.

Time here can be minutes, seconds or hours by using the strtotime() function. So for example, if you want to delete old files less than 4 hours, you can call strtotime(‘-4 hours’).

This is a Sponsored Post written by me on behalf of BillQuick. All opinions are 100% mine.

That’s right folks. Back then I used to have a review about BillQuick and how this software delivers time tracking, simplifies project management and billing while supporting users via a desktop or through the web. Additional modules are available to provide more features that can ease your billing and project management needs.

And now, I have good news! They have a new version out in the market with new features to give users a better and richer experience using their software. Features like staff task allocation with dates, personal time off management, memorized invoices and new staff workload widget are just a few of the more than 200 modules included in their 2010 version.

And the best perk you can get from using BillQuick’s system? It helps you process billings faster and enables you to save more money. A lot of man hours and costs are saved when you use BillQuick because it produces the same results with all your tasks in just one system.

I recommend you try out and take advantage of their 30 day free trial so you can see for yourself just how easy it is to use its functionalities after familiarizing yourself how their modules work. BillQuick is automation, simplicity and cost effective combined!
Visit my sponsor: BillQuick 2010

If you want to get the date and time of a website’s server and if it is not displayed within the website, you can do so by getting the headers that are returned. In Java, you would use the URL and HttpURLConnection classes to meet this objective. You can then loop through the HttpURLConnection object’s headers and see what the header name for the date and time is. One site that I accessed had the header name “Date” so you may want to try this out. If you know the header name you do not have to loop through each header but just call the getHeaderField(String name) method of the HttpURLConnection object.

See sample code below

Related Posts Plugin for WordPress, Blogger...