Home > mfiles > timeString.m

timeString

PURPOSE ^

timeString returns the current time and date in a convenient string format.

SYNOPSIS ^

function s = timeString()

DESCRIPTION ^

 timeString returns the current time and date in a convenient string format.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % timeString returns the current time and date in a convenient string format.
0002 
0003 % This file is part of the SaliencyToolbox - Copyright (C) 2006-2008
0004 % by Dirk B. Walther and the California Institute of Technology.
0005 % See the enclosed LICENSE.TXT document for the license agreement.
0006 % More information about this project is available at:
0007 % http://www.saliencytoolbox.net
0008 
0009 function s = timeString()
0010 
0011 t = clock;
0012 d = date;
0013 s = sprintf('%02d:%02d:%04.1f on %s',t(4),t(5),t(6),d);

Generated on Fri 22-Aug-2008 00:09:19 by m2html © 2003