get current date and time
<p>I kinda stuck on date and time.
I want my program to create date like this "20121217" the first 4 letter is the year and the second 2 letter is a month and the last 2 is the day. year+month+day</p>

<p>and for the time is "112233" hour+minute+second</p>

<p>thanks for your help,
and pardon my english (english is not the primary language in my country)</p>
