abdel  
                (Robot usa)
               
                 
                 
              
                  
                    November 12, 2018,  3:06pm
                   
                   
              1 
               
             
            
              Hello,
I’m extracting a string datatable, from windows application:
how to keep in the datatable only  the values that the date are > = Date.ParseExact(Now.addmonths(-1).tostring(“dd-MM-yyyy”),“dd-MM-yyyy”,System.Globalization.CultureInfo.InvariantCulture)
             
            
               
               
               
            
            
           
          
            
              
                reda  
                (Reda_Marzouk)
               
                 
              
                  
                    November 12, 2018,  4:11pm
                   
                   
              2 
               
             
            
              Hi @abdel  
please use this activity Filter Data Table  
             
            
               
               
               
            
            
           
          
            
              
                abdel  
                (Robot usa)
               
              
                  
                    November 12, 2018,  4:13pm
                   
                   
              3 
               
             
            
              helloreda,
I can’t find this activity, in which package i is installed
             
            
               
               
               
            
            
           
          
          
            
              
                abdel  
                (Robot usa)
               
              
                  
                    November 12, 2018,  4:17pm
                   
                   
              5 
               
             
            
              it needs 2018.2 version but what i have is 2018.1.3
             
            
               
               
               
            
            
           
          
            
            
              Then you should pass by here 
             
            
               
               
               
            
            
           
          
            
              
                reda  
                (Reda_Marzouk)
               
              
                  
                    November 12, 2018,  4:41pm
                   
                   
              7 
               
             
            
              Ohh it’s to bad the filter started from the 18.2 
you have to do this the old fashion way
use this instead 
yourDataTable = yourDataTable.select("Date >= Now.addmonths(-1).tostring(“dd-MM-yyyy”)).Copytodatatable()
             
            
               
               
               
            
            
           
          
            
              
                arivu96  
                (Arivazhagan A)
               
              
                  
                    November 12, 2018,  4:42pm
                   
                   
              8 
               
             
            
              Hi @abdel ,
Try below code 
dt=dt.select("Column1>=Now.addmonths(-1).tostring("dd-MM-yyyy")).CopyToDataTable()
Regards, 
Arivu
             
            
               
               
               
            
            
           
          
            
              
                rahatadi  
                (Aditya Rahatekar)
               
              
                  
                    June 8, 2019,  6:21am
                   
                   
              10 
               
             
            
              @reddysrs 
use following expression
dt.select(“Convert([ColumnName] ,System.DateTime)  > Convert('”+today.addmonths(-1)+“’ , System.DateTime)”)
please do let me know if you need any help
br,Aditya