This page has been designed specifically for the printed screen. It may look different than the page you were viewing on the web.
Please recycle it when you're done reading.

The URI for this page is { http://cc.byexamples.com }

create your own time stamp 2 Posted on September 27th

From my previous post, create your own time stamp, I have introduced a way to construct your own time stamp.

Recently I found a better way, and with this function, you can create a better time stamp, yet the way of construct the time stamp is far more simple compared to my previous post.

Yes, that’s it, and the output is show as below:

Wed, 26 Sep 2007 23:54:50 +0800
Trackback URL

One Response to “create your own time stamp 2” :

  1. Nice example. But i get warnings on its compilation:
    warning: assignment makes pointer from integer without a cast
    warning: incompatible implicit declaration of built-in function ‘strftime’.

    GCC version is gcc (GCC) 4.1.1 (Gentoo 4.1.1-r1 p1.7.1).

    What is wrong?

    Commented Norbert on February 22nd, 2008.
Leave your own comments about this post: