title: The number in date format while using Rails and Postgres
body: <p>I have a Rails app which uses Postgresql.</p>
  
  <p>Please check out the following command and its output from Rails console:</p>
  
  <pre><code>[11] pry(main)&gt; User.last.created_at_before_type_cast
    User Load (0.6ms)  SELECT  "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT $1  [["LIMIT", 1]]
  =&gt; "2018-08-29 11:10:46.526069"
  </code></pre>
  
  <p>What does the number 526069 represent and how it gets generated?</p>