title: bash string to date
body: <p>Is there an opportunity to convert a string into a date in bash? For example: I have a time format: <code>"%Y-%m-%dS%H:%M:%S"</code>. An example of such string is <code>"2009-06-24S12:34:56"</code>. I need to convert this string into a date (unix timestamp) in bash. How can I do this?</p>