Name

timestamp — Defines a timestamp generator.

Synopsis

<timestamp [min="minValue"] [max="maxValue"]/>
				

Description

This element defines a timestamp generator. Generates random timestamps from min to max (inclusive). The timestamp must be specified in US locale (mm/dd/yy hh:mm PM or AM).

Attributes

min

The minimum timestamp. If not specified, it will take "1/1/1970 00:00 AM" as minimum.

max

The maximum timestamp. If not specified, it will take the current date and "11:59 PM" as maximum.

Example

Example 25. Timestamp generator.

<project name="postgresqlTest">
	<metadata>
		<table name="table0">
			<generator row-count="10000" />
			...
			<column name="some_timestamp" data-type="timestamp">
				<generator>
					<timestamp min="8/15/1984 1:20 AM" max="1/1/2012 6:30 PM" />
				</generator>
			</column>
			...
		</table>
		...
	</metadata>
	...
</project>