> > The string is formatted as DDMMYY.
> [snip]
> > I also need to know if it is Y2K compliant.

> DDMMYY is not normally considered Y2K compliant.

It made me laugh, too. This should do the trick, though:

Char src[7] = "280201", dst[9] = "xx/xx/xx";

MemMove(dst, src, 2);
MemMove(dst + 3, src + 2, 2);
MemMove(dst + 6, src + 4, 2);


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to