dateTime first/last

Code Example - dateTime first/last

                
                        //first day and last day of month
DateTime date = ...
var firstDayOfMonth = new DateTime(date.Year, date.Month, 1);
var lastDayOfMonth = firstDayOfMonth.AddMonths(1).AddDays(-1);
                    
                
 

gmail

                        
                                Just press the little gmail button or go to gmail.com
                            
                        
 

Related code examples