File: coda_time_to_string.m

package info (click to toggle)
coda 2.21.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 9,320 kB
  • sloc: ansic: 125,785; javascript: 6,732; java: 2,391; yacc: 1,007; python: 872; makefile: 615; lex: 204; sh: 99; fortran: 60; xml: 5
file content (12 lines) | stat: -rw-r--r-- 529 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
function varargout = coda_time_to_string(varargin)
% CODA_TIME_TO_STRING  Convert a number of seconds since 1-1-2000 to a
%   human-readable string format.
%
%   STR = CODA_TIME_TO_STRING(N_SECONDS_SINCE_2000) turns the double
%   value containing the amount of seconds since 1-1-2000 into a string
%   containing the date and time in a human readable string of the form
%   '2000-01-01 00:00:00.000000'.
%

% Call CODA_MATLAB.MEX to do the actual work.
[varargout{1:max(1,nargout)}] = coda_matlab('TIME_TO_STRING',varargin{:});