Is the field in a Btrieve Date format? If so, it's:
YYYYMMDD
stored as a 4 byte number with the first two bytes being the 4 digit year the third byte being the month, and the fourth byte being the day.
How it's coming back from the database and what programming language you're using will determine the best way to manipulate it.
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.