# Mktime() usage (sample code) in c

The following C project contains the C source code and C examples used for mktime() usage (sample code). Usage sample code of mktime()

The following java project contains the java source code and java examples used for [ led digital clock ]. This program is Led Digital Clock that shows hours,minutes and seconds simultaneously.

The following Matlab project contains the source code and Matlab examples used for gives some insight into timing accuracy of timer-objects .
The resolution (minimum 'period') of the timer object is specified as 0.001s, or 1ms. This small function uses the tic-toc mechanism (resolution in the order of microseconds) to evaluate the timer object's accuracy.

The following Matlab project contains the source code and Matlab examples used for pltstmp adds a timestamp and name of the calling script to a graph. .
PLTSTMP adds a timestamp to the bottom of the figure.

The following Matlab project contains the source code and Matlab examples used for rtc a pedestrian real time clock figure.
- creates a real-time clock (using a timer object), which runs smoothly in the background while the user continues with her daily ML chores.

The following Matlab project contains the source code and Matlab examples used for convert time to windows nt format.
The Windows NT time format is the number of 100 nanosecond intervals that has passed since January 1, 1601.

The following Matlab project contains the source code and Matlab examples used for zoom adaptive date ticks.
% ZOOMADAPTIVEDATETICKS - Make date ticks adapt to zooming
%
% zoomAdaptiveDateTicks('on')
% Turns on the automatic adaptation of date ticks
% to user zooming for the current figure window
%
% zoomAdaptiveDateTicks('off')
% Turns off the automatic adaptation of date ticks
% to user zooming for the current figure window
%
% zoomAdaptiveDateTicks('demo')
% Opens a demo figure window to play with.

The following Matlab project contains the source code and Matlab examples used for calendar day calculator with day date filtering capability.
Utility that returns the dates/days between a start date and end date.

The following Matlab project contains the source code and Matlab examples used for converts a ms excel date to year, month and day .
xlsdate is a MATLAB function that converts a MS Excel date to the year, month and day. It does the exact same thing as [y,m,d] = datevec(date+697560).

The following Matlab project contains the source code and Matlab examples used for utc to gps time coverter.
%UTC2GPS Convert UTC(GMT) time tags to GPS time accounting for leap seconds
% UTC2GPS(date) corrects an array of UTC dates(in any matlab format) for
% leap seconds and returns an array of GPS datenums where:
% GPS = UTC + steptime
% Currently step times are through Jan 1 2009, but need to be added below
% as they are instuted.

The following Matlab project contains the source code and Matlab examples used for gps to utc(gmt) time conversion.
%GPS2UTC Convert GPS time tags to UTC(GMT) time accounting for leap seconds
% GPS2UTC(date) corrects an array of GPS dates(in any matlab format) for
% leap seconds and returns an array of UTC datenums where:
% UTC = GPS - steptime
% Currently step times are through Jan 1 2009, but need to be added below
% as they are instuted.

The following Matlab project contains the source code and Matlab examples used for utc to local time.
Converts a Matlab date vector (ie, [2008 01 01 00 00 00]) which is in UTC to a date/time string in local time.

The following Matlab project contains the source code and Matlab examples used for converts excel serial date to day month year and back.
Simple function to convert Excel serial date to day, month, year and back.
based on code taken from Victor Vogelpoel on
http://www.codeproject.com/KB/datetime/exceldmy.aspx?print=true

The following Matlab project contains the source code and Matlab examples used for elapsed timer (print elapsed time).
A smarter version of the built-in functions tic and toc, made for iterative/loop computations.

The following Matlab project contains the source code and Matlab examples used for high accuracy timer for windows.
Uses the windows high-resolution performance counter to get the time which exceeds one microsecond accuracy.
time = hat;
% do some calculations
diff = hat - time;

The following Matlab project contains the source code and Matlab examples used for datefig figure handle class with automatically readjusting date ticks.
The MATLAB command datetick('x') will not automatically update date ticks if a figure is resized, zoomed or panned.

The following Matlab project contains the source code and Matlab examples used for returns the year, month, day, hour and minute of the start of the requested season. .
It uses a lookup table (with data taken from NASA's Goddard Institute for Space Studies' Climate Model Simulations page) to return the time of the start of the requested season.

The following Matlab project contains the source code and Matlab examples used for convert normal date to julian date.
This function is different from Matlab's built-in functions (juliandate or mjuliandate) in the sense
that it gives yyyyddd where yyyy is the year and ddd is the day out of
365 (or 366 for leap years).

The following Matlab project contains the source code and Matlab examples used for unix timestamp to matlab serial datetime.
This function converts Unix Time (decimal seconds since January 1, 1970, 00:00) to MATLAB serial time (decimal days since 1900).

The following Matlab project contains the source code and Matlab examples used for unix timestamps array to matlab datenum array .
based on the reference http://www.mathworks.com/matlabcentral/newsreader/view_thread/93932
datenum([1970 1 1 0 0 unix_time])

The following Matlab project contains the source code and Matlab examples used for calipso satellite time conversion to matlab time.
[YEAR, MONTH, DAY, HOUR, MINUTE, SECOND] = UNIXSECS2DATE(SECS) returns
% the calendar date (year, month, day, hour, minute, and second)
% corresponding to given number of seconds since 00:00:00 1 January 1993
% thus in calipso time taken from Profile_Time Variable
Use of HDFREAD function required to extract Profile_Time variable from the Calipso dataset.

The following Matlab project contains the source code and Matlab examples used for block orthogonal matching pursuit.
This work was made for an Univeristy exams based on the thesis of B. M. Sanandaji about the Compressive System Identification.
There are Time Invariant (TI) and Time Varying (TV) examples.

The following Matlab project contains the source code and Matlab examples used for this exercise computes the short-time average magnitude difference function (amdf) of a speech frame .
This MATLAB exercise calculates and displays the AMDF of a frame of speech from a designated speech file and implements a pitch detection algorithm based on using the AMDF on a frame-by-frame basis.

The following Matlab project contains the source code and Matlab examples used for intelligent dynamic date ticks.
** Update: The archive now includes a new function setDateAxes which can be used like SET to set the properties of date axes (such as XLim) and have the tick labels update automatically.

The following Matlab project contains the source code and Matlab examples used for given spike times across trials, create smoothed peri-event hist convolved with a psp or gaus kernel .
% function sdf=SDFConv(spk,AlignEv,bn,ktype,sig)
%
% Inputs:
% SPK: = SPK is a 2D numeric array with the timestamp (in ms) for each
% spike in each trial down the other.

The following Visual Basic project contains the source code and Visual Basic examples used for show current date & system time with milliseconds. Ever wondered how you can show the current system date and time, including milliseconds? Here is how.

The following Visual Basic project contains the source code and Visual Basic examples used for function to make now dates sortable in listviews, etc.. Str(Now) gives you a date and time according to your system settings.

The following Visual Basic project contains the source code and Visual Basic examples used for display a simple real-time clock with date. These two sub procedures show how simple it is to implement a real-time clock and display the date as well. Just add two label controls and a timer control.

The following Visual Basic project contains the source code and Visual Basic examples used for datetime object in .net: demo. This is an ASP.

The following Visual Basic project contains the source code and Visual Basic examples used for cdatehour - convert from datetime, rounding down to the nearest hour. This function can be used in timecard type applications.