March 26, 2017

Convert timestamp to range date string

function getRangeDateString($timestamp) { if ($timestamp) { $currentTime=strtotime(‘today’); // Reset time to 00:00:00 $timestamp=strtotime(date(‘Y-m-d 00:00:00’,$timestamp)); $days=round(($timestamp-$currentTime)/86400); switch($days) { case ‘0’; return ‘Today’; break; case ‘-1’; return

Read More »

Create desktop icon for keepass

sudo yum install alacarte press super key and type alacarte. Choose icon Main Menu Press New Item Name: KeePass Command: mono /home/bvbmedia/keepass/KeePass.exe Comment: KeePass rules! Press

Read More »

Most Popular