Put the date in a DateTime structure and pull the day.
DateTime dt = DateTime.Parse(dateString);
int day = dt.Day;
---
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
***************************
Think Outside the Box!
***************************
"poppy" wrote:
Does anyone know how I can get an integer from a date
representing the day of the month ?
TIA