工具狗
时间戳转换器 获取当前时间戳以及时间戳与时间转换
时间戳获取
当前时间:
时间戳转北京时间
北京时间转时间戳

时间戳(Unix timestamp)转换器功能如下:

1、时间戳(Unix timestamp)转换器提供当前时间的时间戳信息,包括以秒为单位的时间戳(10位)和以毫秒为单位的时间戳(13位),只需一键即可复制当前的时间戳信息;

2、时间戳(Unix timestamp)转换器提供时间戳转换北京时间服务,提供时间戳支线转换服务,户只要根据需要输入时间戳信息,就能便捷地将时间戳转换成北京时间;

3、时间戳(Unix timestamp)转换器同时还支持支持北京时间转时间戳服务,只需选择需要的日期信息,就能一键转换成时间戳信息,方便有效!


时间戳是什么意思?什么是时间戳

我们在工作学习的过程中,经常会需要记录一个准确的时间以防篡改,例如我们在拍摄照片时、或者在进行某些证据保存时需要对时间进行存储,这些场景对时间的准确性、唯一性都要求较高,那么是否有一种日期格式能够满足具备唯一性、准确、易读的特点呢?此时,时间戳就应运而生。

简而言之,时间戳就是把格林威治时间1970年01月01日00时00分00秒作为时间基点,然后计算该日期到当前日期的总秒数,从而获得当前日期的时间戳,时间戳是一个长度为10位或者13位的整数。


时间戳10位和13位的区别

时间戳10位是指时间戳精确到秒,包含10位整数

时间戳13位是指时间戳精确到毫秒,包含13位整数

两者之间转换时,只需乘以1000或者除以1000即可转换


各编程语言如何获取时间戳
语言 代码块
Java System.currentTimeMillis() / 1000
DateTime.now().getMillis() / 1000
Python import time
time.time()
.NET/C# (DateTime.Now.ToUniversalTime().Ticks - 621355968000000000) / 10000000
Go import ("time")
int64(time.Now().Unix())
JavaScript Math.round(new Date() / 1000)
Swift NSDate().timeIntervalSince1970
Objective-C [[NSDate date] timeIntervalSince1970]
MySQL SELECT unix_timestamp(now())
SQLite SELECT strftime('%s', 'now')
Erlang calendar:datetime_to_gregorian_seconds(calendar:universal_time())-719528*24*3600.
PHP echo time();
Ruby Time.now.to_i
Groovy (new Date().time / 1000).longValue()
Dart (new DateTime.now().millisecondsSinceEpoch / 1000).truncate()
Lua os.time()
Shell date +%s
大家都在查询
0-17007047335-1 1-20240229020000-1 0-1640944591000-1 0-1698812349071-1 1-20230704223122-0 0-1699255541-0 1-20231015192304-0 0-1701247521459-1 0-1709260705000-1 1-20231019110036-0 1-20231011154342-0 0-1696748352391-1 0-8711900799000-1 0-1704694460-0 0-1554863939000-1 1-20230628002728-0 0-1708934727379053-1 0-1707826835000-1 1-20230712034323-0 0-1880294400-0 0-1705397531014-1 0-1709117385327-1 0-1709267499000-1 1-20231129173238-1 0-1689864569-0 0-1792693951-1 1-20221216092002-0 0-170899771-1 0-169571310-0 0-1709000117538-1 1-20230809110832-0 0-1708849719828-1 1-20231015213102-0 1-20231014162033-0 0-1707185763000-1 0-1683503431462-1 1-20230802035150-0 1-20231214015057-0 0-1699259298-0 0-1675840416-0 0-1708927792388-0 0-1703139815-0 1-20231007162040-0 0-1703064574-1 1-20231219190000-0 0-1708932000001-1 0-1703064336-0 0-1693989690-1 0-1708928410-0 1-20230802133102-0 0-1689213585-0 0-1697005366404-1 0-1702952585-0 0-1689609599-0 0-1781354889-0 1-20230714092045-0 0-1701242167341-1 0-1700029093345-0 1-20240403102334-0 0-1707580800000-0 0-1706508445-0 0-1161955483-0 0-1240303-0 0-1275489890-0 0-145300000-1 0-1457090101-0 0-1676516988711-1 0-1543641609-0 0-1621350243-0 0-1627873420-0 1-20230708043824-0 0-1681088794-0 0-1630979202000-0 0-1636564287-0 0-1644498931-0 0-1708905600-1 0-1654344000-0 0-1654047000-0 1-20240225020000-0 0-1656477340-0 0-1700209305377-1 0-1675595403-0 0-1675740756-1 0-1708927626-0 0-1673443769-0 0-1673798399-1 0-1676883748-0 0-1679332212-0 0-1683510854-1 0-1679991003-0 0-1682220576-0 0-1684342059-0 0-1684492720-0 0-1684820823-0 0-1685364862-0 1-20231112050611-0 0-1686117386-0 0-1687123493-0 0-1686798602-0 0-1687351882.650446700-0 0-1687336991-0 0-1687836169-0 0-1688378728-1 0-1688913549-0 0-1689671001-0 0-1690553912-0 0-1704701111-0 0-1690855034-0 0-1690963740-0 0-1692181080-0 0-1691572501-0 0-1692583914-0 0-1692601960-0 0-1692750152-0 0-1693065600-0 0-1693240715-0 1-20230706022624-0 0-1694182379.228-0 0-1694857088-1 0-1694966604-0 0-1695445129-0 0-1695715455-0 0-1695940073-0 0-1696728385-0 0-1696761094-0 0-1696994926-0 0-1697078158-0 0-1697607436.428-0 0-1697704644-1 0-1698492040-0 0-1698648579-0 0-1698659640-0 0-1698992063-0 0-1700201153-0 0-1699962313-0 1-20230905223459-0 0-1700895045-0 1-20230715111453-0 1-20230830082531-0 0-1701068477-1 0-1701746356-0 0-1673947803-0 0-1701998114-0 0-1702105704-0 0-1709060508-1 0-1702278000-0 0-169451080-0 0-1702501199-0 1-20230814013459-0 0-1702353160-0 0-1702379738-0 0-1702518313-0 0-1703009890-0 0-1703251129.78-0 0-1703141069-0 0-1703471696-1 0-1703675736-0 0-1703692893-0 0-1702882965-0 0-1704352280-0 0-1703832080-0 0-1704370158-1 0-1704765527-0 0-1706774028727-1 0-1698028253-0 0-1704787382-0 0-1705183541-0 0-1705914016-0 0-1686588475-0 0-1706082330-0 0-1706666421-0 0-1706106660-0 0-1706661209-0 0-1706763327-0 0-1707110932-0 0-1707121297-0 0-1708480980-0 0-1708581314-1 0-1708657994-0 0-1678954807145-1 0-1708856195-0 0-1708999301715-1 0-1696148507-0 0-1709053020006-1 0-1709189860007-0 0-1709215440000-1 0-1709240400000-1 0-170286199328629600-1 0-1709347150-0 0-1711784114-1 0-1721675291-0 0-18733267-0 0-20230915001122-0 0-20231212154202360-1 0-2323226443-1 0-3775704759-0 0-286561880000-1 0-30638515552-1 0-508834499-0 0-1698985651000-0 0-52382451012800-0 0-550877613-0 0-688384246543-1 1-20230830173441-0 0-730732552-0 0-738938.875-1 0-1706345841-0 0-946692586-0 1-2022010105161111-0 1-19700101102639-1 1-20230802090551-0 1-20231219012908-0 1-20171206020000-0 0-1704258256464-1 1-20190722115120-0 1-20221207083003-0 1-20220525084901-1 1-20221219074002-0 1-20230301033239-0 1-20230104130002-0 1-20230316210031-1 1-20230419173915-0 1-20230424202634-0 1-20230515105746-0 1-20230517000012-0 1-20230519102018-0 1-20230521165831-1 0-1692633600-1 1-20230522100000-0 1-20230525164700-0 0-20230407112937000-0 1-20230530205217-0 1-20230531184108-0 1-20230630070000-0 1-20230704133829-0 1-20230705053949-0 1-20230705180612-0 1-20230707024209-0 1-20230707034646-0 1-20230708114803-0 1-20230709023425-0 1-20230708221814-0 0-1550361600000-1 1-20230709101849-0 1-20230710030506-0 1-20230710044341-0 1-20230710072610-0 1-20230710075314-0 1-20230711004823-0 1-20230913221243-0 1-20230711015551-0 0-1680593845732-1 1-20231031110228-0 0-1702785093950-0 1-20230711062358-0 1-20230714212831-0 1-20230716131606-0 1-20230720050539-0 1-20230724194033-0 1-20230724204731-0 1-20230724224015-0 1-20230725113757-0 1-20230726140918-0 1-20230728173835-0 1-20230730062005-0 1-20221222154702-0 1-20230801111819-0 1-20230803113133-0 1-20230805023256-0 1-20230806080219-0 0-1684222546-0 1-20230826202242-0 1-20230809171821-0 1-20230817104105-0 1-20230817124210-0 1-20230821100938-1 1-20230822161122-0 1-20230715115948-0 1-20230828165412-0 0-1688256201168-0 1-20230829114225-0 1-20230829173952-1 1-20230830021040-0 1-20230802130056-0 1-20230902030254-0 1-20230902143615-0 1-20230908162637-0 1-20230902164126-0 1-20230906093948-0 1-20230913123816-0 1-20230909165830-0 1-20230913163756-0 0-1697081117-0 1-20230913164455-0 1-20230914073139-0 1-20230929192928-0 1-20231001101309-0 1-20231001165429-1 1-2023101135053-0 1-20231017111933-0 1-20231017204105-1 1-20231018183509-0 0-1697458218838-0 1-20231020011755-0 1-20231024172906-1 1-20231025130701-1 1-20231026190224-0 1-20231102140100-0 1-20230913093203-0 1-20231205020026-0 1-20231206111551-0 0-1700464562-0 1-20231207133118-0 1-20231210235959-1 1-20231211142554-1 1-20231213025359-0 0-1709284636000-1 1-20231214111000-0 0-1684112785-0 1-20240102064830-1 1-20231218212727-0 1-20231224034533-0 0-1609599029-1 1-20231226154533-0 1-202401026095321-1 1-20240102140000-0 0-1696943347785-1 1-20240107000000-0 1-20230911141814-0 1-20240108142551-0 1-20240110111411-0 1-20240113010123-0 1-20240114162046-1 1-20240116034036-0 1-20240117072506-0 1-20240118115515-0 1-20240119110000-1 1-20240122120556-0 1-20240125221058-0 1-20240126173721-0 1-20240129204243-0 1-20240126214956-0 1-20240129185901-1 1-20240130120001-0 1-20240201024039-0 1-20240205173123-0 1-20230909111449-0 1-20240207151306-0 1-20240222200517-1 1-20240206040356-0 1-202402152124040039597-1 1-20240217204738-0 1-20240218181105-0 1-20240226083653-0 1-20240226143645-1 0-1684512000-0 1-20240227143021-0 1-20240227173658-1 1-20230716145510-0 1-20240301214149-0 1-20240229113037-0 1-20240229120000-1 1-20240329180059-0 0-1696806000000-1 1-20380506005045-0 1-2024331000000-0 1-20330911133230-0 0-1709087802394-1 1-20431109041419-0 1-552860503131116-0 0-1709346039-0 0-1709255995522-1 1-20230925161357-0 0-1708882428000-1 0-1709258347-0 0-1687664159-0 0-1688091001-0 1-20230630235914-0 1-20230715111412-0 1-20230724220329-0 0-1687854711545-0 0-1682054667-0 0-1684649795-0 1-20230705054606-0 1-20230705080417-0 1-20230706071845-0 1-20230707004906-0 1-20230709053443-0 0-1817633268-0 1-20230111225241-0 1-20230705075934-0 1-20230706091507-0 0-1687338340-1 1-20240303145915-1 0-19419-1 0-1577006652-0 0-1688539137-0 0-1632882149-0 0-168140160-0 0-1688371463-0 1-20230704162753-0 1-20230705081752-0 1-20230705160947-0 0-1685667403000-1 1-20230706092718-0 1-20230706021537-0 1-20230707031949-0 1-20230707070153-0 1-20230708052757-0 1-20230708184010-0 1-20230709074752-0 1-20230709082127-0 1-20230709100531-0 1-20231008190000-0 1-20230711021652-0 1-20230712054520-0 1-20230712074105-0 1-20230716033230-0 1-20230714194935-0 1-20230716104905-0 1-20230717012538-0 1-20230726093214-0 1-20230718023820-0 1-20230523202447-0 0-1694318400000-0 1-20230101130003-0 1-20230709013559-0 0-1688202165-0 1-20230126000000-0 0-1675941243-0 0-1690699728-0 0-1689918170-0 0-604799-1 1-20230409000011-0 1-20230704172344-0 1-20230705115003-0 1-20230706010000-0 1-20230706113527-0 1-20230706150856-1 1-20230708121248-0 1-20230707015437-0 1-20230710005017-0 1-20230714151514-0 1-20230716070814-0 1-20230717143225-0 1-20230724200442-0 1-20230725141853-0 1-2023701120000-0 0-1708589940-0 0-653482469-0 0-1679385800-0 0-1709827199000-1 0-1685994835-0 0-540093424576-0 0-20230706052220353-0 1-20230703175431-0 1-20230705090600-0 1-20230706070951-0 1-20230706113104-0 1-20230707140233-0 1-20230707193409-0 1-20230707201204-0 1-20230708191444-0 1-20230709045412-0 1-20230714002847-0 1-20230721194500-0 1-20230718092019-0 1-20230301031318-0 1-20230831105508-0 1-20230706822-1 1-20230401193210-0 0-1118850000000-1 1-20230716082823-0 0-1688108176-0 0-1689384765-1 0-1689056742-0 1-20230709092235-0 1-20230706092122-0 0-9999483649-0 1-20230705001546-0 1-20230630103841-0 0-1118850000000-0 0-1709204400-1 1-20230706032910-0 1-20230707002413-0 1-20230715113233-0 1-20230707125810-0 1-20230712065016-0 1-20230711080452-0 1-20190113000000-0 1-20230712065629-0 1-20230715091338-0 1-20230716180000-0 1-20230717124257-0 0-1671687409230-0 0-1640995200-0 0-1687942653.00-0 0-1433846886-0 0-1709209588-0 0-1645711449-0 0-1670057403-0 0-1689820912-0 0-1688700816-0 0-1690250660-0 1-20230425142056-0 0-1694501373-0 1-20230628062711-0 1-20230716073124-0 0-1649157385-0 1-20230705051812-0 1-20230710112217-0 1-20230707112935-0 1-20230708050143-0 1-20230710143229-0 1-20230712092834-0 1-20230725171946-0 0-1698631188-0 0-1676450054-0 0-1687760034-0 0-1675086023-0 0-43200-1 1-20230417151853-0 0-684814623-0 1-20231001120000-1 1-20230404102423-0 1-20230424043501-0 1-20230705133040-0 1-20230703210000-0 1-20230705064754-0 1-20230706030506-0 1-20230828095300-0 1-20230825183942-0 1-20230711030843-0 0-1702986620000-1 1-20230716051121-0 1-20230716050044-0 1-20230716185319-0 1-20230724200222-0 1-20230725080147-0 0-1675484831-0 0-1681813199-1 0-47018322835200-1 1-20231016050000-0 0-1678152018-0 0-1683178922-0 0-1682331223-0 0-1614875148-0 0-1686316140-0 0-1689056672-0 0-1689123740-1 0-1689762600-0 1-20230224123002-0 0-204614664000-1 1-20230626185722-1 1-20230629004643-0 1-20230708222039-0 1-20230705123005-0 1-20231010083855-0 1-20230707071623-0 1-20231012164128-0 0-1709316900000-1 0-1696755300267-1 1-20230710032646-0 1-20230717053309-0 1-20230712034433-0 0-1703582802130-1 1-20230713035138-0 1-20231214161814000-0 1-20230716152153-0 1-20230717100848-0 1-20231022203220-0 1-20230716171316-0 0-1657423177191-0 1-20230719072258-0 1-20230717183405-0 1-20230721003423-0 1-20230725114705-0 0-1699435603-0 0-1698216733261-1 0-1696043270000-1 0-1703923541029-1 1-20240201105257-1 0-1704245398938-1 0-1703151630000-1 0-1704263152000-1 1-20231010144201-0 0-1674129003-0 0-118328.704-0 0-1677123825-0 0-1688536679-0 1-1688087699217-0 1-20230311100000-0 1-20230628212812-0 1-20230705113016-0 1-20230214130002-0 1-20230706201056-0 1-20230707051556-0 1-20230708100345-0 1-20231213000000-1 1-20230707085125-0 1-20230709041540-0 1-20230709035213-0 1-20230802031521-0 1-20230709080506-0 1-20230710102338-0 1-20230713020510-0 0-1696922200804-1 1-20230714213841-0 1-20230716120612-0 1-20230717174104-0 1-20230716132758-0 1-20230724195401-0 1-20230725074128-0 1-20230920222518-0 0-1704274810-0 0-1704248726-0 0-1810-1 0-1708520989601-1 0-1698399023-0 1-20240109105400-0 0-1708907160-0 0-1686310205-0 0-1688094374-0 0-1686655220-0 1-20000201120000-0 0-1703682960-0 1-20221219072200-0 1-20230321083023-0 1-20230421112800-0 1-20230426151458-0 1-20230624212951-0 1-20230613192017-0 1-20230704192719-0 1-20230707054232-0 1-20230706030230-0 1-20230707020243-0 1-20230708065532-0 1-20230708134329-0 1-20230711012907-0 1-20230712031120-0 1-20230715031244-0 1-20230716050919-0 1-20230717143607-0 1-20230717143143-0 1-20240107230000-0 0-1679142007-0 1-20230924025409-0 0-1696905200-0 0-1682231555-0 1-20231011142636-0 0-1682311044-0 0-1684569754-0 0-1686559576-0 0-1685173785-0 0-1690329600-0 0-1687855611-0 0-1688008903-0 0-2022270974429-1 1-20220721042746-1 1-20230526102624-0 1-20230712020821-0 1-20230530113441-0 1-20230705052940-0 1-20230705125543-0 1-20230706034201-0 1-20230706020012-0 1-20230706084921-0 1-20230706203732-0 1-20230706113556-0 0-3089241913-0 0-1709380529000-1 1-20230707184831-0 0-1709196599002-1 1-20230708165121-0 1-20230708190506-0 1-20230712054357-0 1-20230709033257-0 1-20230710020537-0 0-1709380500000-1 1-20230709101809-0 1-20230710010031-0 1-20240301120000-0 1-20230710085848-0 1-20230714202805-0 1-20230711030236-0 1-20230711054225-0 1-20230716163137-0 1-20230715043646-0 1-20230715161856-0 1-20230715070803-0 1-20230725222928-0 1-20230717161800-0 1-20230716052502-0 1-20230717115924-0 0-1709380467000-1 1-20230717154045-0 1-20231005145709-0 1-20230720025804-0 1-20231224000000-1 0-1709380440000-1 0-86369794-0 0-1707290918-0 0-1640971920-0 0-1667385523-0 0-1709430480000-1 0-1672502400000-1 0-3271814856-0 1-20230419102707-0 1-20230111110003-0 0-1680441004-0 0-1674099509-0 0-1679678581-0 0-1684044518-0 0-1689856580-0 1-2023071000000-0 0-2667174690-1 1-20230401010000-0 1-20230707005344-0 1-20221201122423-0 1-20230707193523-0 1-20230711012631-0 1-20230713012515-0 1-20230711045123-0 1-20230714121626-0 1-20230716151345-0 1-20230717152915-0 1-20230718031203-0
  你可能感兴趣的工具
轻松一刻
    逢年过节主动约朋友去外边吃饭,每天起来后往花盆里喷一点水,不断给自己制造生活的仪式感,相信我,你会觉得简单的日子也能五彩斑斓。
分享该工具
https://www.gongjugou.com/kaifa/timestamp/
关于本站
本站正挂网出售中,如果你有购买意愿,可以添加QQ:2210463103直接垂询,或者【点我前往A5站长平台】了解流量和价格详情,源码不单独出售,整站整体转让!