File: tzconv.m

package info (click to toggle)
dateutils 0.3.1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,236 kB
  • ctags: 1,790
  • sloc: ansic: 20,002; makefile: 1,434; yacc: 200; sh: 167; lex: 105
file content (16 lines) | stat: -rw-r--r-- 431 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
% tzconv  convert between timezones
%
% Syntax:
%   d = tzconv(dates, from_zone, to_zone);
%
% Input Arguments:
%   dates     - a vector of matlab dates to be converted
%   from_zone - interpret DATES as coming from FROM_ZONE
%   to_zone   - convert DATEs to TO_ZONE
%
% Output Arguments:
%   d      - vector of dates in the result
%
% Copyright (C) 2013  Sebastian Freundt <freundt@ga-group.nl>
%
% This file is part of dateutils