>>> import time
>>> now = time.strftime("%Y-%m-%d %H:%M:%S")
>>> now
'2009-10-28 14:10:52'
>>> tup = time.strptime(now, "%Y-%m-%d %H:%M:%S")
>>> tup
(2009, 10, 28, 14, 10, 52, 2, 301, -1)
>>> unix = time.mktime(tup)
>>> unix
1256710252.0
>>> tup2 = time.gmtime(unix)
>>> tup2 == tup
False
>>> tup
(2009, 10, 28, 14, 10, 52, 2, 301, -1)
>>> tup2
(2009, 10, 28, 6, 10, 52, 2, 301, 0)
>>> time.strftime("%Y-%m-%d %H:%M:%S", tup)
'2009-10-28 06:10:52'
>>> time.strftime("%Y-%m-%d %H:%M:%S", tup2)
'2009-10-28 06:10:52'
Python “time” Module
October 28, 2009Advanced Global Personality Test Results
September 17, 2009|
Advanced Global Personality Test Results
|
Take Free Advanced Global Personality Test
personality test by similarminds.com
April 25, 2009
“Eric” – A Tribute to you Kuya…
I play a nocturne but the pain doesn’t go away…
The words are broken with so much I want to say
Every time I feel alone
I just look up in the sky and see you smiling down on me
Thoughts of you make me feel better even if I cry… even if I cry…
You are a hero and I will not mourn how you died
You are a hero and I will celebrate your life
No sweeter way to go than when you laid down your life for love
Take mine with you… See you at the crossroads… See you at the crossroads…
I want to be home with you just a little longer
To appreciate those times then I will be stronger,
Stronger as I believe in God’s will
In his time, we will surely heal…
Thoughts of you make me feel better even if I cry…
You are a hero and I watched you transcend into light…
You are a hero and I couldn’t stop you, when you gave your life…
And from every heart touched, from every life moved in one or another..
We send, we send our love…
Mr. and Ms. UZZAP Clans – CYOPS’ Choice Award
April 15, 2009Here guys, as promised. Congratulations to FSD hate girl and RIP Toby.
I Support PROJECTOFURAGAMA
February 3, 2009This is the YouTube account of my colleagues in Heraldo Filipino (DLSU-D’s Official Publication), Jheck Cogama and Jake Ofrasio. They excel in film making, photography and everything ART. They have always brought me much inspiration in this field and I would like to share their wonderful works with others.
So far, they only have 2 short films uploaded, 1 in which I’m in. I star as Paraluman in Jake’s “Paraluman”. Although they are embedded here, I prefer if people go visit their site, comment or favorite. Just click on the links.
Paraluman
is "a film about discovering things…and finding out there not what you think they are."
Scythe
is an award-winning film with the synopsis: "Man’s perception about Life after death".
Deviations
September 8, 2008Visit my online art gallery at Deviant Art
Here are some thumbnails of my works:
Note: These images are COPYRIGHT protected and are officially submitted to DeviantArt.com









Dates in PHP (Tomorrow, Yesterday, Today of a Given Date)
August 1, 2008<?php
echo “<h4>Date Yesterday</h4>”;
$yesterday = date(“Y-m-d”, time()-86400);
echo $yesterday;
echo “<h4>Date Today</h4>”;
echo date(“Y-m-d”);
echo “<h4>Date Tomorrow</h4>”;
$tomorrow = date(“Y-m-d”, time()+86400);
echo $tomorrow;
echo “<hr>”;
echo “<h4>Previous Date from User-defined Date</h4>”;
$gdate = “2008-07-11″;
echo “(” . $gdate . ” supplied.) <br>”;
$dt = strtotime($gdate);
echo date(“Y-m-d”, $dt-86400);
echo “<h4>Next Date from User-defined Date</h4>”;
echo “(” . $gdate . ” supplied.) <br>”;
$dt = strtotime($gdate);
echo date(“Y-m-d”, $dt+86400);
// DAYS IN BETWEEN TWO DATES
function days_in_between($s, $e){
$d = array();
$s = strtotime($s);
$e = strtotime($e);
for($n=$s; $n<=$e; $n=$n+86400){
array_push($d, strftime(“%Y-%m-%d”, $n));
}
return $d;
}
?>
Posted by Xyldrae Diane Jacob
Posted by Xyldrae Diane Jacob 


Posted by Xyldrae Diane Jacob 
UZZAP Feedback Anyone?
July 7, 2009You may conatact “Liezel” via email at temp.fcguarin@smart.com.ph or send sms or call +639286949950.
Thank You!