Hi,
Fetch the date from database and store it in string;
string dtime= dbDateTime.toString("dd-MM-yyyy");
Now split it and save it in an array:
string[] dateTimeSpl=dtime.Split('-');
Now you got your datetime in your format as you want. It's now in array.
This was the simple example. According to your requirement you just explore the usage..
All the best.
--AK