#
# ajd1.txt - initial test
# ========
# This script tests the initialisation and basedate copying functions
# together with ajformatdate.
#
# As it tests ajsetnow, which sets the base date from the system clock,
# it will show output differences during regression tests. 
#

#
# Set the current date and time
#
ajsetnow

#
# Report the date and time in a variety of formats
#
ajformatdate DATE	# ccyy-mm-dd
ajformatdate TIME	# hh:mm:ss
ajformatdate SECONDS	# 999999999
ajformatdate PLAIN	# ccyy-mm-dd hh:mm:ss
ajformatdate FANCY      # ddMmmccyy hh:mm:ss TZ
ajformatdate 		# Day Mon dd hh:mm:ss ccyy

#
# Retrieve and replace the base date
# It should be the same afterwards
#
ajgetdate
ajsetdate SAVEDATE
ajformatdate 

#
# 0 errors expected
#
