-ExileD- (09-26-2010),elmobob (10-01-2010),flameswor10 (09-26-2010),o-o (09-26-2010),tahha (10-01-2010),Timboy67678 (09-28-2010)
This is completely my source so if you use it give credits.
[php]#include <time.h>
struct tm * current_tm;
time_t current_time;time (¤t_time);
current_tm = localtime (¤t_time);
char *month []={"January","February","March","April","Mai","June ","July","August","September","October","November" ,"December"};
char *Day []={"Sun","Mon","Tue","Wed","Thu","Fri","Sat"};
char *Hour []={"12","1","2","3","4","5","6","7","8","9","10","1 1","12","1","2","3","4","5","6","7","8","9","10"," 11"};
char *Sec []={"00","01","02","03","04","05","06","07","08","09 ","10","11","12","13","14","15","16","17","18","19 ","20","21","22","23","24","25","26","27","28","29 ","30","31","32","33","34","35","36","37","38","39 ","40","41","42","43","44","45","46","47","48","49 ","50","51","52","53","54","55","56","57","58","59 "};
char *Min []={"00","01","02","03","04","05","06","07","08","09 ","10","11","12","13","14","15","16","17","18","19 ","20","21","22","23","24","25","26","27","28","29 ","30","31","32","33","34","35","36","37","38","39 ","40","41","42","43","44","45","46","47","48","49 ","50","51","52","53","54","55","56","57","58","59 "};
char *logbuf = new char[ 256 ];
sprintf( logbuf, "%s %s %02dth %d || %s:%s:%s",Day[current_tm->tm_wday], month[current_tm->tm_mon], current_tm->tm_mday, current_tm->tm_year+1900, Hour[current_tm->tm_hour], Min[current_tm->tm_min], Sec[current_tm->tm_sec]);
[/php]
And you can say this is kind of noob proof lol
And this is what it looks like.
Last edited by God601; 09-26-2010 at 03:59 AM.
Starting my own Web hosting service
Finaly completed.
Progress for Exchange Server : 100%
-ExileD- (09-26-2010),elmobob (10-01-2010),flameswor10 (09-26-2010),o-o (09-26-2010),tahha (10-01-2010),Timboy67678 (09-28-2010)
Nice, thanks dude
[IMG]https://i423.photobucke*****m/albums/pp312/LizMLsinatra/hh-1.png[/IMG]
Happy Hanukkah For All Of MPGH !
∞
The Real Life Are Better Then A Game !
Song :[YOUTUBE]vgKBOkvO5N0&feature=player_embedded[/YOUTUBE]Best Friends :
Hax4Life!
Solify
[MPGH]Drake`
Respect Them Or I'll Kill You ...
Nice work dude..
No I do not make game hacks anymore, please stop asking.
Thanks, even though i already have this func another way.
This is a great contribution.
Cool but i dont have a menu to use it on so nvm.
Whoa. YOu do it a waste of time way, Thats for sure xD
Mine is a simple PrintText(blah,cTime);
Off topic but God601 can ya fix my code pls.
You made this harder than it was
/fp
Good Job anyway /
Gordon` (10-02-2010)
WOW U CAN TELL TIME 0.0
I just like programming, that is all.
Current Stuff:
- GPU Programmer (Cuda)
- Client/Server (Cloud Server)
- Mobile App Development
flameswor10 (09-28-2010)