up: programming - C - time relatedprev: programming - C - functions - clock()next: programming - c - difftime
programming - C - ctimeWhat links here?
Convert time_t value to string

Converts the time_t object pointed by timer to a C string containing a human-readable version of the corresponding local time and date.

The returned string has the following format:

Www Mmm dd hh:mm:ss yyyy


Where Www is the weekday, Mmm the month in letters, dd the day of the month, hh:mm:ss the time, and yyyy the year.

The string is followed by a new-line character ('\n') and the terminating null-character.

This function is equivalent to: programming - C - functions - asctime()(localtime(timer)).



Parameters



Return Value

A C string containing the date and time information in a human-readable format. The array which holds this string is statically allocated and shared by both the ctime and asctime functions. Each time either one of these functions is called the content of this array is overwritten.
programming - C - ctime
Loading Docks
programming - C - function putc(int char, FILE* stream)
tk:tk_radiobutton
programming:windows:networking:select based server
programming - c - functions - atof
programming - C - CLOCKS_PER_SEC
MC6802 - instruction set - complement memory
programming:windows:EnableWindow
programming:DDE:IExplorer DDE Server
Time internal format
AutoCAD - Dialog Control Language (DCL) - (action_tile key action-expression)
tk:tk_frame
tk:tk widgets
AutoCAD Entity Definitions - text
programming - c - functions - atoi
programming - c - functions - itoa
programming:Excel
filename:programming - C - ctime
filename:programming%20%2D%20C%20%2D%20ctime
last edit:December 02 2012 22:11:02 (5115 days ago)
ct = 1796429707.000000 = December 05 2026 00:15:07
ft = 1354486262.000000 = December 02 2012 22:11:02
dt = 441943445.000000