简体   繁体   English

pgAdmin中没有时区的时间戳命令?

[英]Command for timestamp without timezone in pgAdmin?

How can I insert current timestamp without timezone in pgAdmin while inserting data manually?如何在手动插入数据时在 pgAdmin 中插入没有时区的当前时间戳?

I know that timestamp can be inserted using now() .我知道可以使用now()插入时间戳。 Thanks!谢谢!

As documented in the manual you can use localtimestamp (instead of current_timestamp or now() ) 如手册中所述,您可以使用localtimestamp (而不是current_timestampnow()

Check the manual :检查手册

SELECT LOCALTIMESTAMP;

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 将不带时区的时间戳转换为带时区的时间戳 - Convert timestamp without timezone into timestamp with timezone 在 postgresql 中随机化没有时区的时间戳 - randomizing timestamp without timezone in postgresql 如何将没有时区的时间戳和代表时区的 integer 转换为 PostgreSQL 中没有时区的新时间戳 - How to convert timestamp without timezone and integer representing timezone to a new timestamp without timezone in PostgreSQL 将任何日期字符串转换为没有时区的时间戳 - convert any date string to timestamp without timezone 如何在PostgreSQL中减去没有时区的时间戳 - How to substract timestamp without timezone in PostgreSQL 将没有时区的时间戳转换为整数 Postgres - Convert Timestamp without timezone to integer Postgres Ingres在尝试查询没有时区列的时间戳时出错 - Ingres error trying to query timestamp without timezone column 如何从没有时区列的时间戳中提取时间? - How to extract the time from a timestamp without timezone column? postgre sql 在表中搜索类型为无时区的时间戳 - postgre sql search in table with type timestamp without timezone 不带时区的 PostgreSQL 时间戳和带时区的 java.util.Date 之间的比较 - Comparsion between PostgreSQL timestamp without timezone and java.util.Date with timezone
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM