Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

sql query to mysql

$
0
0

I have queried a database on the network and get the following into my variable

PS C:\scripts> $a

spent_on                                                                                                    

--------                                                                                                    

3/29/2013 12:00:00 AM

and then this

PS C:\scripts> $a[0]

Friday, March 29, 2013 12:00:00 AM

Can you tell me what is happening here as well as how to test for day and month

Thanks in advance

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles