SHARE
TWEET

Untitled

a guest Sep 13th, 2017 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. namespace TesteData
  2. {
  3.   class Program
  4.    {
  5.     static void Main(string[] args)
  6.     {
  7.         var dataAtual = DateTime.Now.Date; // dataAtual 13/09/17
  8.         var qtdDias = 5;
  9.  
  10.         //Como fazer essa dataAtual 13/09/17 - qtdDias = 08/09/17
  11.         //dataAtual = 08/09/17
  12.       }
  13.     }
  14. }
RAW Paste Data
Top