File: tzconv.m

package info (click to toggle)
dateutils 0.4.11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,228 kB
  • sloc: ansic: 22,598; makefile: 1,771; yacc: 202; sh: 168; lex: 108
file content (16 lines) | stat: -rw-r--r-- 430 bytes parent folder | download | duplicates (3)
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) 2019 Sebastian Freundt <freundt@ga-group.nl>
%
% This file is part of dateutils