Be the first to rate this file! 105 downloads (last 30 days) File Size: 4.12 KB File ID: #22296

utc_to_local_time

by Peter Tenenbaum

 

02 Dec 2008

Convert UTC to local time

Download Now | Watch this File

File Information
Description

Converts a Matlab date vector (ie, [2008 01 01 00 00 00]) which is in UTC to a date/time string in local time. User may specify the format of the date/time string. This function uses Java classes and methods, thus it is portable and compatible with Matlab installations on all platforms.

MATLAB release MATLAB 7.4 (R2007a)
Other requirements Java classes text.SimpleDateFormat, util.Date, util.Calendar, util.TimeZone.
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.

Public Submission Policy

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.

Contact us at files@mathworks.com