Yes, you just need to parse the information you get.
Look at this (for AGS 2.71):
Code: ags
This function does it all. That's quite basic actually. I just wrote it in a few minutes and tested - surprisingly - it works!!1!
To use it, you could for example put this inside your game_start ( )-function:
Code: ags
Simple as that, really.
Look at this (for AGS 2.71):
String return_date ( )
// this function will return the date in a descriptive, long way
{
// longdate is a string that we will fill with the long description
// of the date ( for example "April 15, 2006" )
String longdate;
// shortdate is used to retrieve information about the current date
// from AGS ( for example "15/04/06" )
DateTime *shortdate;
// first of all, we need to get the current time in short format
shortdate = DateTime.Now;
// now we need to express the month
if ( shortdate.Month == 1 )
// if it is january
longdate = "January";
else if ( shortdate.Month == 2 )
// if it is february
longdate = "February";
else if ( shortdate.Month == 3 )
// if it is march
longdate = "March";
else if ( shortdate.Month == 4 )
// if it is april
longdate = "April";
else if ( shortdate.Month == 5 )
// if it is may
longdate = "May";
else if ( shortdate.Month == 6 )
// if it is june
longdate = "June";
else if ( shortdate.Month == 7 )
// if it is july
longdate = "July";
else if ( shortdate.Month == 8 )
// if it is august
longdate = "August";
else if ( shortdate.Month == 9 )
// if it is september
longdate = "September";
else if ( shortdate.Month == 10 )
// if it is october
longdate = "October";
else if ( shortdate.Month == 11 )
// if it is november
longdate = "November";
else if ( shortdate.Month == 12 )
// if it is december
longdate = "December";
// next, we will need to simply add the current day
longdate = longdate.Append ( longdate.Format ( " %d", shortdate.DayOfMonth ) );
// finally add the year
longdate = longdate.Append ( longdate.Format ( ", %d", shortdate.Year ) );
// we are done, we only need to return longdate
return longdate;
}
This function does it all. That's quite basic actually. I just wrote it in a few minutes and tested - surprisingly - it works!!1!

To use it, you could for example put this inside your game_start ( )-function:
Display ( return_date ( ) );
Simple as that, really.