Загрузка...

No DATATIME in Data type [ SQLiteStudio]

Thread in Backend created by zertop Dec 16, 2022. 271 view

  1. zertop
    zertop Topic starter Dec 16, 2022 19 Jul 25, 2018
    Помогите пж. Уже час ебуся не пойму в чем беда.
    По гайду делаю базу данных, и не могу найти DATATIME в баре (на видосе у чела там +5 типов дополнительных, в гугле инфы не нашел)
    [IMG]
    Писал в ручную, один хуй
    [IMG]
     
  2. Cow
    Cow Dec 16, 2022 4383 Jan 25, 2020
    zertop, в твоёй СУБД нету такого типа
     
    1. zertop Topic starter
      Cow, Я тоже так подумал, но я напрямую по ссылке с видоса скачал даже. И один хуй
    2. Cow
      zertop, Date and Time Datatype
      SQLite does not have a storage class set aside for storing dates and/or times. Instead, the built-in Date And Time Functions of SQLite are capable of storing dates and times as TEXT, REAL, or INTEGER values:

      TEXT as ISO8601 strings ("YYYY-MM-DD **:MM:SS.SSS").
      REAL as Julian day numbers, the number of days since noon in Greenwich on November 24, 4714 B.C. according to the proleptic Gregorian calendar.
      INTEGER as Unix Time, the number of seconds since 1970-01-01 00:00:00 UTC.
      Applications can choose to store dates and times in any of these formats and freely convert between formats using the built-in date and time functions.
    3. zertop Topic starter
      Cow, [IMG] крч вот с видоса чела. Ладно. То есть я могу использовать TEXT, правильно?
    4. View the next comments (1)
Loading...
Top