in C #, how do you calculate the date 25 years ago from today?
How about using AddYears :
AddYears
DateTime then = DateTime.Today.AddYears(-25);
That should do the trick
DateTime.Now.AddYears(-25)
Source: https://habr.com/ru/post/896719/More articles:Magento: Combine eq and null in addAttributeToFilter - magentocheck rake if it is already running - ruby | fooobar.comHow to auto-generate * _TLB.pas in Delphi XE? - delphiHow to support .NET 2.0 and .NET 4.0 in one application? - .netHow to programmatically add a new NSToolbarItem to an existing toolbar? - cocoaHow to add OnClick event for custom Android view - javaHow to remove checkall in extjs checkboxmodel? - javascriptDIV with "position: absolute; bottom: 0" does not stick to the bottom of the container in Firefox - htmlDeleting an object in a collision - androidGet frame border values () - rAll Articles