If you want to create a "rounded" time stamp, for example, to the nearest 15 minutes use this as a reference:
php.net