Kesavan Muthuvel's Personal Home Page

Index| Bookmarks| I'm supporting| More info? (About me!)| Royal Thunderbird!| Maemo N900| Nexus & Pixel (Android + more )| KODI [aka] XBMC | My Public Key (GPG) | My Sign| Travel Snaps| Blog
Thanks to..| Open Materials| interview qns| scripts to look| eBooks Collection| Web Dev tips
Looking for a girl| A day - a cartoon| Shameless self promo| Goodbye GMail
தமிழ்: Type தமிழ் | Sorry, pythagoras! | Thirukkural - #PIEM
Tools: What's your IP| Resize your image| Dark status from Tor| Random token gen| RegEx me!
Double trouble: Wed Lock - 2014| Wedlock Invitation| Thulasi Kesavan| Kundavai Kesavan

Scripts I like

Here are some scripts which are useful for preparations in PHP / MySQL .Please run these.Don't just read this. Thanks to highlight_file() of PHP.

PHP Info | echo Vs print | PHP MCRYPT | PHP FUNCTION(?) | PHP __wakeup() | PHP Date Calc | PHP Multi file attach MAIL | MySQL Date Calc | PHP OOPs | jQuery

<?php
//echo $date = date("Y-m-d H:i:s");echo "\n";
echo $date "2011-08-26 10:34:16";echo "\n";

$original strtotime($date);    // To UNIX_TIME_STAMP

$hr  25;
$min 46;
$sec 77;

$modified $original+$sec+($min*60)+($hr*60*60);

echo 
date("Y-m-d H:i:s",$modified);echo "\n";

/*
kesavan@Ideapad-Z460:/var/www/kesavan.info/scripts$ php datediff.php 
2011-08-26 10:34:16
2011-08-27 12:21:33
kesavan@Ideapad-Z460:/var/www/kesavan.info/scripts$ 
*/

/*
//$original = mktime(date("H", strtotime($date)), date("i", strtotime($date)), date("s", strtotime($date)),
//               date("m", strtotime($date)), date("d", strtotime($date)), date("Y", strtotime($date)));

*/

?>


Return to Kesavan Muthuvel's home page.

Please send comments on these web pages to hi@kesavan.info (or)  Feedback here

CopyLeft (Ͻ) 2008 - 2023 Kesavan Muthuvel More on CopyLeft

I Don't Love FaceBook