Hello I am using a script to find out password expiration on user accounts. My script returns a variable $daystoexpire in a format like this 38.03:17:32.2838808 which include the days, hours minutes etc. I only need the days. How can I trim this to only include the days. Thanks.
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.