Code covered by the BSD License  

Highlights from
mydate

mydate

by

 

16 Apr 2011 (Updated )

Augments MATLAB's date/time library for improved handling of epochs and formats commonly used in GPS

Contents.m
% MYDATE
%
% Files
%   mydatebod   - MYDATEBOD: Return epoch at beginning of the day containing input epoch.
%   mydatebow   - MYDATEBOW: Return epoch at beginning of the week containing input epoch.
%   mydateday   - MYDATEDAY: Convert epoch interval to (decimal) days.
%   mydatedayi  - MYDATEDAYI: Convert from (decimal) days (to epoch interval in internal format).
%   mydatedoy   - MYDATEDOY: Convert epoch to (decimal) day of year.
%   mydatedoyi  - MYDATEDOYI: Convert from (decimal) day of year (to epoch internal format).
%   mydatedoyw  - MYDATEDOYW: Convert epoch to (decimal) day of water-year.
%   mydatedoywi - MYDATEDOYWI: Convert from (decimal) day of water-year (to epoch internal format).
%   mydategpsw  - MYDATEGPSW: Convert epoch to GPS week (and optionally day and second):
%   mydategpswi - MYDATEGPSWI: Convert from GPS week (and optionally day and second).
%   mydatehod   - MYDATEHOD: Convert epoch to (decimal) hours of day (optionally, elapsed since beginning of a different day).
%   mydatehour  - MYDATEHOUR: Convert epoch interval to (decimal) hours.
%   mydatehouri - MYDATEHOURI: Convert from (decimal) hours (to epoch interval in internal format).
%   mydatejd    - MYDATEJD: Convert epoch to (decimal) Julian day.
%   mydatejdi   - MYDATEJDI: Convert from (decimal) Julian day (to epoch internal format).
%   mydatemjd   - MYDATEMJD: Convert epoch to (decimal) modified Julian day.
%   mydatemjdi  - MYDATEMJDI: Convert from (decimal) modified Julian day (to epoch internal format).
%   mydatenum   - MYDATENUM: Convert from vector parts (to internal format).
%   mydatenumi  - MYDATENUMI: Convert epoch to vector parts.
%   mydatesec   - MYDATESEC: Convert epoch interval to (decimal) seconds.
%   mydateseci  - MYDATESECI: Convert from (decimal) seconds (to epoch interval in internal format).
%   mydatesod   - MYDATESOD: Return (decimal) seconds of day (optionally, elapsed since beginning of a different day).
%   mydatesodi  - MYDATESODI: Return (decimal) seconds of day (to internal format); (optionally, elapsed since beginning of a different day).
%   mydatesow   - MYDATESOW: Convert to seconds of the week.
%   mydatesowi  - MYDATESOWI: Convert from seconds of the week.
%   mydatestd   - MYDATESTD: Convert epoch to standardized annual format.
%   mydatestdi  - MYDATESTDI: Convert from standardized annual format (to epoch in internal format).
%   mydatestr   - MYDATESTR: Convert epoch to text character string.
%   mydatestri  - MYDATESTR: Convert from text character string (to epoch in internal format).
%   mydatevec   - MYDATEVEC: Convert epoch to vector parts.
%   mydateveci  - MYDATEVECI: Convert from vector parts (to epoch in internal format).
%   mydateyear  - MYDATEYEAR: Convert epoch interval to (decimal) years.
%   test_mydate - 

Contact us