Exemple #1
0
        public string ToMonthYearString()
        {
            string retString = "";

            retString += KrynnDateTimeNames.getMonth(this.Month) + ", ";
            retString += this.Year.ToString() + " AC";
            return(retString);
        }
Exemple #2
0
        public override string ToString()
        {
            string retString = "";

            //Date
            retString += KrynnDateTimeNames.getDayOfWeek(this.DayOfWeek) + ", ";
            retString += KrynnDateTimeNames.getMonth(this.Month) + " ";
            retString += this.Day.ToString() + ", ";
            retString += this.Year.ToString() + " AC. Time: ";

            //Time
            retString += ToDoubleDigit(this.Hour) + ":";
            retString += ToDoubleDigit(this.Minute) + ":";
            retString += ToDoubleDigit(this.Second) + " ";

            return(retString);
        }