title: what is function/value for updating a row with current time_stamp in sqlite
body: <p>This is my create table statement.  </p>
  
  <pre><code>String CREATE_CONTACTS_TABLE = "CREATE TABLE " + TABLE_BRANDS + "("
              + KEY_ID + " INTEGER PRIMARY KEY," + KEY_NAME + " TEXT,"
              + KEY_CREATED_AT + " TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP," 
              + KEY_UPDATED_AT + " TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP" + ")";
  </code></pre>
  
  <p>as per SQLITE document ON UPDATE CURRENT_TIMESTAMP is not allowed in column definition.</p>
  
  <p>so i thought of passing KEY_UPDATED_AT values while updating a row.</p>
  
  <pre><code>This is my update function.
  
  public int updateBrand(Brand brand) {
      SQLiteDatabase db = this.getWritableDatabase();
  
      ContentValues values = new ContentValues();
      values.put(KEY_NAME, brand.getName());
      values.put(KEY_UPDATED_AT, ?????)
  
  
      // updating row
      return db.update(TABLE_BRANDS, values, KEY_ID + " = ?",
              new String[] { String.valueOf(brand.getId()) });
  }
  </code></pre>
  
  <p>My question is what values should i put values.put(KEY_UPDATED_AT, ?????), to update the row properly.</p>