From 8 to 5
Sunday, October 30, 2011
C programming. show current date.
#include <sys/time.h>
int show_date(){
time_t tt;
struct tm *the_tm;
time(&tt);
the_tm = localtime(&tt);
printf("tm_year = %04d-%02d-%02d\n", the_tm->tm_year + 1900, the_tm->tm_mon, the_tm->tm_mday);
return 0;
}
Newer Post
Older Post
Home
Proxmox installation display out of range
Reference: https://forum.proxmox.com/threads/proxmox-ve-screen-out-of-range.131297/
PHP Regular Expression Remove BBCODE
How to remove BBCODE from a string ? <?php $String = "[b][color=#0000ff]TEST[/color][/b]"; $regex = '|[[\/\!]*?[^\[\]...
USB and Firewire Pinout
Original Source:: http://www.zytrax.com/tech/pc/serial.html Tech Info - USB and Firewire USB and FireWire (IEEE 1394a and b) represent the...