Previous SectionData Manipulation
Document HomeKeywords
Reserved WordsNext Section

Date & Time Functions


ADVANCE Advance a date & time by the specified interval units
DEL5MSEC Pauses script execution in 5 millisecond intervals.
DELAY Pauses script execution in 1 minute intervals.
DELAYSEC Pauses script execution in 1 second intervals.
EPOCHTOSTR Converts a given epoch time stamp to a date string
GETDATE Returns the current PC date and time, and optionally the number of the day of week.
GETDATETIME Function returning the current PC date and time including milliseconds
GETDAY Returns name of the day for the current OR optionally a specified date.
GETEPOCH Returns the current Unix epoch timestamp
GETSCHED Returns the date and time when the current script is scheduled to run.
INHISTORY Indicates if a date/time is in the past.
REGRESS Regress a date & time by a single interval.
SINGLE Used with @ADVANCE to limit the change in time to 1 interval.
SLEEP Pauses script execution for approximately the number of milliseconds specified.
STRTOEPOCH Returns the Unix epoch timestamp of the given time string

Previous SectionData Manipulation
Document HomeKeywords
Reserved WordsNext Section


This publication has been prepared and written by Telstra Corporation Limited (ACN 051 775 556), and is copyright. Other than for the purposes of and subject to the conditions prescribed under the Copyright Act, no part of it may in any form or by any means (electronic, mechanical, microcopying, photocopying, recording or otherwise) be reproduced, stored in a retrieval system or transmitted without prior written permission from the document controller. Product or company names are trademarks or registered trademarks of their respective holders.

Note for non-Telstra readers: The contents of this publication are subject to change without notice. All efforts have been made to ensure the accuracy of this publication. Notwithstanding, Telstra Corporation Limited does not assume responsibility for any errors nor for any consequences arising from any errors in this publication.