<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>awk on Wenhan blog</title>
    <link>https://wenhan.blog/en/tags/awk/</link>
    <description>Recent content in awk on Wenhan blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-US</language>
    <lastBuildDate>Fri, 24 Nov 2017 08:34:34 +0000</lastBuildDate><atom:link href="https://wenhan.blog/en/tags/awk/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>AWK - time functions</title>
      <link>https://wenhan.blog/en/posts/20171124_awk-time-functions/</link>
      <pubDate>Fri, 24 Nov 2017 08:34:34 +0000</pubDate>
      
      <guid>https://wenhan.blog/en/posts/20171124_awk-time-functions/</guid>
      <description>Apart of date, awk also has below built-in time functions which will help you to resolve time convert problem
systime() This will return the current time as the number of seconds since the Epoch (1970-01-01 00:00:00).
1 2 3 4 $ awk &amp;#39;BEGIN { &amp;gt; print &amp;#34;Number of seconds since the Epoch = &amp;#34; systime() &amp;gt; }&amp;#39; Number of seconds since the Epoch = 1511480989 mktime(YYYY MM DD HH MM SS) This will convert date string &amp;ldquo;YYYY MM DD HH MM SS&amp;quot;b to the numbaer of secondss since the Epoch.</description>
    </item>
    
  </channel>
</rss>
