Enterprise Edition Home | Express Edition Home | Previous Page | Next Page   Appendix D. GLS Support > Using the GL_DATETIME Environment Variable with ON-Bar >

Point-in-Time Restore Example

For example, the default date and time format for the French locale, fr_fr.8859-1, uses the format "%A %.1d %B %iY %H:%M:%S." The ON–Bar command for a point-in-time restore is as follows:

onbar -r -t "Lundi 9 Juin 1997 11:20:14"

You can set GL_DATETIME to a different date and time format that uses the date, month, two-digit year, hours, minutes, and seconds.

%.1d %B %iy %H:%M:%S

The ON–Bar command for a point-in-time restore is as follows:

onbar -r -t "9 Juin 97 11:20:14"

Tip:
For more information on how to use GLS and the GL_DATE and GL_DATETIME environment variables, refer to the IBM Informix: GLS User's Guide.
Enterprise Edition Home | Express Edition Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]