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

时间戳(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
大家都在查询
1-20230702154832-0 1-20230425143502-1 1-20230717013238-0 1-20230628082420-0 1-20230716015417-0 1-20230616200912-0 1-20230721194615-0 1-20230706035440-0 1-20230704230835-0 1-20230704030442-0 0-1689836054-0 1-20230704140151-0 1-20230706125416-0 1-20230728173542-1 1-20230725133125-0 1-20230706023637-0 1-20230703164058-0 1-20230709020642-0 0-945453549-0 1-20230617160037-1 1-20230712081210-0 1-20230510062922-0 1-20230708075941-0 1-20230725174512-0 1-20231015185421-0 0-1680513433-0 1-20230404024329-0 0-1687251251-0 1-20230716072525-0 0-9466561037170-1 1-20230715144714-0 1-20230714161458-0 1-20230707124418-0 1-20230708024636-0 1-19500101000000-1 1-20230710020558-0 1-20230711042433-0 1-20230717180730-0 1-20230711005241-0 0-1688658300-0 1-20230706080750-0 1-20230706043952-0 0-1688105834-0 0-1682404214-1 0-61200-1 1-20230706004416-0 1-20230716110600-0 1-20230708193943-0 1-20230710093137-0 0-1663332894-0 1-20230711082739-0 1-20230707125115-0 1-20230708094848-0 1-20230714195945-0 1-20230717074727-0 1-20230929145710-0 0-1613724780-0 1-1681972681667-0 0-132580626-0 1-20230704175843-0 1-20230705144429-0 1-20230712073602-0 1-20230705092810-0 0-4818104624000-1 0-1698139641-1 1-20231029224834-1 1-20230907085414-0 1-20230760649-0 1-20230717203731-1 1-20230714115908-0 1-20230717013557-0 1-20230714230601-0 0-1655882678-0 0-1689684313-0 1-20230710072202-0 0-09435235576-0 1-20230706062120-0 0-1687665934-0 1-20230707073614-0 0-1683721560-0 1-20230725080427-0 1-20230714222501-0 1-20230615160657-0 1-20230613012315-0 0-1685610758-0 0-1687701290-0 0-1680578398-0 0-1681092466-1 1-20230721000001-0 1-20230706104838-0 1-20230705200236-0 1-20230704160538-0 1-20230618091422-1 1-20230705103801-0 0-1681440340-0 1-20230711020942-0 0-1689825678-0 1-20230705055710-0 1-20230708163129-0 0-1683178922-0 1-20230619142413-0 1-20230708124049-0 1-20230709074752-0 1-20230712084213-0 1-20230518132404000-0 1-20230712054541-0 1-20230321203023-0 1-20230713083453-0 1-20230725101448-0 0-1654012800-1 1-20230704210444-0 1-20230716082822-0 0-1533943017-0 1-20230716191610-0 1-20230705060723-0 0-1687924595-0 1-20220721162746-1 0-25565982549215-0 0-1770047999-0 0-1687716128.0087416-0 1-20230126000000-0 1-20230405041007-0 1-20230314191818-0 1-20230707091834-0 1-20230707114829-0 1-20230704074026-0 1-20230707015437-0 1-20230707185419-0 1-20230710030743-0 1-20230716104012-0 1-20200526000000-0 0-1682423211-1 1-20230715041330-0 1-20230715035215-0 1-20230712040926-0 1-20230716075540-0 1-20230716153048-0 1-20230725100506-0 1-1970010243115-0 0-1708221543-1 0-1695365181632-1 0-1693894695-0 0-1682237828-1 1-20230411114136-1 1-20230628102621-1 1-20230707154953-0 1-20230709023244-0 1-20230707101653-0 1-20230710042740-0 1-20230704231454-0 1-20230722135130-0 1-20230725004248-0 1-20230713071614-0 0-1670749206-0 0-1690341889-0 1-20230714103517-0 0-1687919364-0 1-20230626172531-0 0-681119556000-0 1-20230713031412-0 1-20230705094310-0 1-20230724034548-0 1-20230717123531-0 1-20230718031030-0 1-20230719172106-0 1-20230715112421-0 1-20230716093736-0 1-20230607105427-0 1-20231201061727-1 0-1688543245-1 0-2783742-0 0-540093424576-0 0-1682301600-0 0-1682325349-0 0-1676947134-0 1-20230716171057-0 1-20230717163446-0 1-20230718031103-0 1-20230706062709-0 1-20230713024402-0 0-1689118857-0 1-20230712005048-0 0-1680794017-1 1-20230628105210-1 1-20240831170239-0 0-16788960-0 1-20230715072238-0 1-20230720125432-0 1-20230710052412-0 0-4293000000-0 1-20230627212847-0 1-20230712055620-0 1-20230710020610-0 1-20230710015625-0 0-1645564281-0 0-1681714860.000000000-0 0-1690214303-0 1-20230708132620-0 0-5210-0 1-20230706053009-0 1-20230615074050-0 1-20230717014854-0 1-20230707055235-0 1-20230707042341-0 1-20230715020231-0 1-20230725143606-0 0-1682391708-1 1-20230711053240-0 0-1689146100-0 1-20230712072455-0 1-20230705211431-0 1-1685462400000-0 0-1547718199-0 1-20230705132842-0 1-20230724192112-0 0-1711609199-0 0-1710313200-0 0-3723753600-0 0-1710313200000-0 1-20221228082002-0 1-20231128161400-0 0-1715634000000-1 1-20230904123631-0 0-1679798351-0 0-1063938710-0 1-20230715112654-0 1-20230716063748-0 1-20220801083344-0 1-20230717010120-0 1-202307191200000-0 1-20230605115808-0 1-20230721121808-1 1-20230707031942-0 0-1687562641-0 1-20230709090155-0 1-20230718031403-0 1-20230709011138-0 1-20230708140801-0 1-20230115181525-0 1-20230620162310-0 1-20230708040234-0 1-20230708232805-0 1-20230705121012-0 1-20230715173135-0 0-1688642162-0 0-1680998399-0 1-20230705140441-0 1-20230704235606-0 1-20230707114317-0 1-20230706142521-0 1-20230706152522-0 1-20230718121556-0 1-20230709001054-0 1-20230716065331-0 0-1639143054-0 1-20991231115959-0 0-1687700528-0 1-20230529141134-0 1-20221213091002-0 1-20221219092002-0 1-2023711135218-0 1-20230708113653-0 1-20230717015901-0 1-20240306152258-1 0-39600-0 1-20220920113123-1 0-1995854722-1 0-1688178357-0 1-20240514191703-0 1-20240215154349-1 0-1686727086-1 1-20231026000830-0 0-1367136631.14100-1 0-1683331771-0 0-1514764800-0 0-1689311314-0 0-1679673956-0 0-1688112515-0 0-1683709740-0 0-1685969895.94-0 0-1687192125-0 0-1686047259-0 0-1688367745-0 0-1688608353-0 0-1689485158-0 0-1698735441-0 0-1707750195-0 0-1689600989-0 0-1689739200-0 0-1689981436-0 1-20230706114251-0 1-20230709052854-0 0-1695550803-0 0-1698042774-0 0-1698631200-0 0-1702549800-0 1-20230706125931-0 0-1700541537-0 0-1700139824-0 0-1702520964-1 1-20230403005006-0 1-20230714065546-0 1-20230704110234-1 1-20230714201506-0 1-20230413205529-1 1-20230710022017-0 1-20230714220816-0 1-20230721084526-0 1-20230717190111-0 1-20230725171404-0 1-20230717005807-0 1-2023090818563350-1 1-20231218070858-0 1-20230414152231-0 1-20230705100850-0 0-1594285517-0 0-1690855034-0 0-20230411110037000-1 1-20230708141009-0 1-20230709115446-0 1-20230714151507-0 1-20230715101835-0 1-20230625183319-0 1-20230621224237-0 1-20230627115734-0 1-20230708124802-0 1-20230709115050-0 1-20230706034408-0 1-20230716124542-0 1-20230716214805-0 1-20230807000000-0 1-20230716112010-0 1-20230426015600-1 0-1682332024-0 0-1689691415-0 0-1666423685-0 0-1590691253-0 0-1688710802-0 0-1686747602-0 0-1689658440-0 1-20230628042319-1 1-20230626193341-0 0-1709797070-0 1-20230714130547-0 1-20230713005828-0 1-20230707052908-0 1-20230707131356-0 1-20230710051841-0 1-20230709031828-0 1-20230724214606-0 1-20230717065501-0 1-20230715110537-0 1-20230707092442-0 0-432000000-1 1-20240221000001-0 0-1687258388-0 1-20230704223255-0 1-20230707024944-0 1-20230709031511-0 1-20230709040355-0 1-20230715083532-0 1-20230714194224-0 1-20230712034733-0 1-20230710014727-0 0-618681600000-0 1-20230712084220-0 1-20230709060638-0 1-20230707112404-0 0-62041945556823-1 0-1177887-0 0-1496360552-0 0-144257713-0 0-1370233650-0 0-1443782700-0 0-1473334496-0 0-100201161-0 0-0.9396769231575173-0 0-1530254969-0 0-15181873.176555-1 0-1514131200-0 0-159852288-0 0-1480748697-0 0-1548163584-0 0-1548950400-0 0-1526313599-0 0-1567421183-1 0-1551744376-0 0-1569946154-0 0-1577908000-0 0-1599882725-0 0-1593071787-0 0-16032130-1 0-1589006427-0 0-1609432130-0 0-1615972700-0 1-20230708194957-0 0-1618045527-0 0-1622563200-0 0-1661468138-0 0-1631623542-1 0-1645539742-0 0-1655212060-1 0-1630512000-0 0-1628126461-0 0-1633349813-0 0-1660114227-0 0-1665480058-0 0-1669167559-0 0-1672502370-0 0-1671968401-0 0-1669599635-0 0-1661117526-0 0-1672549500-0 0-1669799195-0 0-1670853603-0 0-1671960601-0 0-1675931881-0 0-1669996800-0 0-1676287203-0 0-167612-0 0-1682240901-0 0-1678876202-0 0-1673239139-0 0-1677123825-0 0-1672746765-0 0-1678456803-0 0-1678741728-0 0-1679143207-0 0-1683788403-0 0-1679305053-0 0-1679236416-0 0-1680278401-0 0-1680358447-0 0-1680394704-0 0-1680782403-0 0-1680791479-0 0-1679456444-0 0-1680855840-0 0-1680711175-1 0-1682410305-0 0-1687848260-0 0-1682399203-0 0-1681779720-0 0-1683686079-1 0-1681795854-0 0-1681308194-0 0-1683251339-0 0-1684130400-0 0-1681112348-1 0-16822656-0 0-1682345300-0 0-1686281834-0 0-1684201849-0 0-1682987819-0 0-1686886172-0 0-1683880000-0 0-1683590400-1 0-1683946916-0 0-1683894606-0 0-1685684829-0 0-1685309098-0 0-1684221401-0 0-1685267901-0 0-1684287459-0 0-1684723761-0 0-1684485842-1 0-1686703689-0 0-1685593403-0 0-1686191589-1 0-1688019476-1 0-1685931576-1 0-1685709601-0 0-1686799800-0 0-1686262592-0 0-1686376331-0 0-1686293276-0 0-1686638366-0 0-1686966812-0 0-1687136931-0 0-1686548610-0 0-1686462502-0 0-1686647052-0 0-1687028556-0 0-1687659818-0 0-1687866394-0 0-1686892009-0 0-1687251900-0 0-1687855060-0 0-1687864418-0 0-1687960445-0 0-1689582643-0 0-1688010153-0 0-1687852199-1 0-1687313964-0 0-1688086280-0 0-1688014605-0 0-1688105456-0 0-1688024123.155-0 0-1688085666-0 0-1688085874-0 0-1688094000-0 0-1688113052-0 0-1688087173-0 0-1688116564-0 0-1688224608-0 0-1688369149-0 0-1688218149-0 0-1688140760-0 0-1688169600-1 0-1688113483-0 0-1688699984-0 0-1688381664-0 0-1688383688-0 0-1688459120-0 0-1688435246-0 0-1688557381.584-0 0-1688565685-0 0-1688536939-0 0-1688627198-0 0-1688545748-0 0-1688696868-0 0-1688610747-0 0-1688726730-0 0-1689036742-0 0-1688908215-0 0-1688718987-0 0-1688713368-0 0-1688787626-0 0-1688752075-0 0-1689448152-0 0-1689414983-0 0-1689421041-0 0-1689234155-0 0-1689523200-0 0-1689181985-1 0-1689218672-0 0-168958801-0 0-1689587797-0 0-1689736500-0 0-1689585167-0 0-1689585639-0 0-1689666791-0 0-1689825107-0 0-1689828060-0 0-1689658777-0 0-1689840424-0 0-1689757322-0 0-1689782275-0 0-1689674232-0 0-1689734621-0 0-1689753600-0 0-1689732424-0 0-1689840951-0 0-1689844541-0 0-1689934756-0 0-1690345874-0 0-1689921487-0 0-1689861647-0 0-1689921609-0 0-1689979247-0 0-1690246567-0 0-1690533041-1 0-1690115786-0 0-1691749132-0 0-1690279840-0 0-1690269066-0 0-1690246063-0 0-1690626853-0 0-1690308447-0 0-1690483587-0 0-1690841831-0 0-1690860336-0 0-1690553150-0 0-1691634697-0 0-1691025012-0 0-1691067726-0 0-1690939619-0 0-1690962929-0 0-1691130786-1 0-1691251151-0 0-1691388000-0 0-1691115816-0 0-1692039997-0 0-1691867338-0 0-1692155573-0 0-1691549990-0 0-1691545248-0 0-1692111900-0 0-1693398169-0 0-1693216685-0 0-1692414631-0 0-1692411829-0 0-1692659760.781-1 0-1693212116.727-0 0-1694153476-0 0-1692877930-0 0-1692752390-0 0-1692774269-0 0-1693590519-0 0-1692892637-0 0-1693819695-0 0-1692938071-0 0-1693815003-0 0-1695202800-0 0-1695521539-0 0-1693061371-1 0-1693564800-0 0-1693405903-0 0-1693558800-0 0-1694275500-0 0-1693701790-1 0-1693601758-0 0-1695004616-0 0-1693984831.107-0 0-1694059610-0 0-1694424147-1 0-1694419368-0 0-1695021888-0 0-1694288843-0 0-1694506522-0 1-20230708203756-0 0-1694703600-0 0-1695192168-1 1-20230710035326-0 0-1695462602-0 0-6382598863184-1 1-20230706024509-0 1-20230709045838-0 0-1695625723-0 0-1695554550.967-1 0-1704891294-0 0-1696568361-0 1-20230704213617-0 0-1711089526-0 0-4124764685-0 0-1708682309-0 1-20230412151628-0 1-20220413194443-0 1-20230704084307-0 1-20230705113911-0 1-20230706090518-0 1-20230705014031-0 1-20230711033445-0 1-20230815161554-0 1-20230711015524-0 1-20230706090942-0 1-20230707070642-0 1-20230707071200-0 1-20230707095722-0 1-20230709014838-0 1-20230709013737-0 1-20230708092033-0 1-20230716043538-0 1-20230709023125-0 1-20230716040524-0 1-20230711070829-0 1-20230713080024-0 1-20230714161050-0 1-20230714122133-0 1-20230714114022-0 1-20230714231735-0 1-20230725075949-0 1-20230716090000-0 1-20230718023940-0 1-20230717162033-0 1-20230723095204-0 1-20230718031449-0 1-20230713022549-0 0-1672823425-0 1-20230710160757-1 1-20230105114004-0 1-20230706043153-0 1-20230705052621-0 1-20230708094622-0 1-20230706095502-0 0-2257901125237424-1 0-1688350820-0 1-20230708023523-0 1-20230716093801-0 1-20230709023439-0 1-20230713064308-0 1-20230707065443-0 1-20230716214703-0 0-78810-0 1-20230717005422-0 0-1688006638-0 1-20230709100132-0 1-20230715033834-0 1-20230706054939-0 0-1696883817.0557477-0 0-30527132827000-1 1-20230717022352-0 1-20230706084956-0 1-20230716174225-0 1-20220222000000-0 1-20230711035711-0 1-20230718122032-0 0-1695653143-0 0-1695688130-0 0-1695865433-0 0-1696749298-0 0-1695647519-0 0-1695780000-0 0-1696679869-0 0-1696073100-0 0-1696849203-0 0-1696817284-0 0-1696776709-0 0-1696900960-0 0-1697038544-0 0-1698758927-0 0-1697503010-1 0-1697600077-0 0-1697433491-0 0-1697453202-1 0-1708441200-0 0-1697793561-0 0-1698078660-0 0-1698033447-0 0-1698209696-0 0-1698118062-0 0-1698118349-0 0-1697811404-0 0-1698233402-0 0-1698290346-0 0-16986816-0 0-1698144885-1 0-1699777170-0 0-1698388142-0 0-169845514.9843152-0 0-1699777723-0 0-1698227645-0 0-1698658152-0 0-1699524187-0 0-1698805876-1 0-1698667682-1 0-1699601998-0 0-1699274247-0 0-1698991423-0 0-1701302136-0 0-1699865870-0 0-1698990017-0 0-1701706860-0 0-1700489551-0 0-1699015160-0 0-1699101328-0 0-1699829188-0 0-1701421713-0 0-1700133234-0 0-1700217389-0 0-1700211294-0 0-1699723969-0 0-1700018394-0 0-1699863942-0 0-1701940865-0 0-1702261800-1 0-1700100699-0 0-1701332046-0 0-1702024451-0 0-1700719200-0 0-1701970318-0 0-1701246925.009544-1 0-1702379703-0 0-1701403176-0
  你可能感兴趣的工具
轻松一刻
    
分享该工具
https://www.gongjugou.com/kaifa/timestamp/
关于本站
本站正挂网出售中,如果你有购买意愿,可以添加QQ:2210463103直接垂询,或者【点我前往A5站长平台】了解流量和价格详情,源码不单独出售,整站整体转让!