Open the Tools→Options window. If needed, expand the tree for "OpenOffice" by clicking on the + at the top left of the window. Select "General" from the "OpenOffice" tree.
The bottom section of the window is labeled "Year (two digits)" and has a customizable setting for how it assigns a century to two-digit years. Set it as you need for you application.