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

时间戳(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-20231201105813-0 0-1702984330593-1 0-246025791777-0 0-1702875933-0 1-20230929164232-0 0-1697177868-0 0-1673513100-0 0-484693453000-1 1-20230130120000-1 0-1697163138-0 1-20230717010735-0 1-20230715124726-0 0-1706716799999-1 0-1710763411-0 1-20180620100000-0 0-1688543441000-1 1-20230906202716-0 1-20231225221132-0 0-1688572820-0 1-20240104091216-0 1-20230806074118-0 0-1685199600-0 1-20230801022631-0 0-1697784632000-1 0-1704312000-0 0-1565787805-0 0-1698995200-0 0-1709090623323-1 0-1689761442-0 0-1697783379-1 1-20230929133706-0 1-20230823175537-0 1-20230914104635-1 0-1694683830.162-0 0-1619846271161-1 1-20230717083225-0 0-1704766975-0 0-1692061200-0 0-1691613019-0 0-1682058072-0 0-1708476899.436342-0 1-20230712050419-0 1-20250531120000-0 0-1705897068-0 1-20230704193833-0 1-20230714175237-0 1-20230816101144-0 1-20230823080000-0 1-20230709045342-0 0-1704765823317-1 0-1683909157.129-0 1-20230709015220-0 1-20240402171330-0 0-1705360740248-1 0-1698812408-0 1-20230716151345-0 0-1309096071-0 0-14497102-0 0-1698562800-0 0-1673948055-0 0-1690787811-0 0-1695157560-0 1-20230823144807-0 0-1704271473-0 1-20230807200541-0 0-1705308-1 1-20231114022426-0 1-20230904052055-1 1-20231125152331-1 1-20231108163540-0 1-20240312142707-0 1-20240103235959-0 1-2023731204944-0 1-20240127124729-0 1-20990101023104-0 1-20240117160430-0 0-1702550858000-0 0-1468332433-0 1-20231206100440-0 1-20230803095603-0 0-1555329536-0 0-1680526943-0 0-1615737600-0 0-1681131281-0 0-1688478240-0 0-83888-0 0-1706080906-1 0-1697357616-0 0-1694502214-0 0-1710753557-0 1-20220630000000-1 0-1706493754-0 0-1705012002265-1 1-20230714125320-0 1-20230715012946-0 1-20230905011425-0 1-20230810092101-0 1-20231026230043-0 1-20230704102408-0 1-20230713020649-0 1-20231027173608-1 1-20240307105000-0 1-20231215175319-1 1-20230707013829-0 1-20230825201539-0 1-19700120234409-1 1-20241130235959-1 1-20230705161548-0 1-20230913162351-0 1-20230715071301-0 0-1707109953-0 0-1664292586-0 0-1694440399-0 0-1691397164-1 0-1700622225-0 0-1707210039-0 0-1706279905-0 0-1700494172-0 0-3823495502-0 1-20230706025742-0 0-1711752472-0 0-1714406401000-1 1-20231025223655-0 1-20230713102217-0 1-20230708083345-0 1-20230712071717-0 1-20230714150846-0 1-20240305052215-1 1-20230724184049-0 1-20230813122139-0 1-20230721112515-0 1-20230802030151-0 1-20231112061217-0 1-20230818115110-0 1-20230922094819-0 0-1528254813-0 0-1679218801-0 0-1684234660-0 0-1686746406-0 0-1690689649-0 1-20231025173316-1 0-1688976539-0 0-1686033600-1 0-1694437203.335-0 0-1698288766-0 0-1698331056-0 0-1698681580-0 0-1706822806-0 1-20230411090002-0 1-20240113005712-0 0-1699347159-0 0-1700292631-0 0-1709690962-0 1-20230523112730-0 1-20230709051854-0 1-20230208120000-0 1-20230901203147-0 1-20230715070331-0 1-20230712062255-0 1-20230802144038-0 1-20230718025046-0 1-20230811160623-0 1-20230923013135-1 1-20230808165323-0 1-20230816143958-1 1-20231023234214-0 1-20231123043935-0 1-20230914065445-0 1-20240129103948-0 1-20230707020219-0 1-20231217211715-0 1-20230923161708-1 1-20230711005149-0 0-1708866300-0 0-1702449273459-1 1-20230824144840-0 1-20230705091635-0 1-20230712043059-0 1-20230907135730-0 1-20231116184227-0 0-1692234825-0 0-1567596758-0 0-1703984589-0 0-1551111111-0 0-1291998-1 0-1687762092-0 0-1703755818-0 0-1693792740-0 0-1698628591-0 0-1687766400-0 0-1704330463-0 0-1703832808-0 0-1708132822-0 1-20230411112742-1 0-18054850-0 0-1704698443000-1 1-20231208072802-1 0-170697600-0 1-20230501055238-0 1-20230713085948-0 1-20230714151822-0 1-20230710072150-0 1-20230707031833-0 1-20230701125956-0 1-20230802044100-0 0-1705385217676-0 1-20230714144349-0 1-20230807203202-0 1-20230822145547-0 1-20230711012747-0 1-20230818203459-0 1-20230809114227-0 1-20230719171414-0 1-20231007054708-0 1-20231226105811-0 1-20230831124128-0 1-20230830175755-0 1-20230911193531-1 1-20230915005503-0 1-20230913115938-0 1-20240111190000-0 1-20230712074945-0 0-1704171216239-1 0-1693979780-0 1-20230913134433-0 1-20230711034336-0 1-20230709021951-0 0-1697278626-0 1-20240109162440-1 1-20230706072302-0 1-20230712060259-0 1-20230802030009-0 1-20230727084759-0 1-20230802110750-0 0-1458476843-0 0-1699434332-0 0-1696646743-0 0-1698979922-0 0-1698524298-0 0-1679624101-0 0-1634175246-0 0-164653-0 0-1594273577-0 0-1705289284-0 0-1700225216-0 0-1700136813-0 0-1705862260-0 0-1704699351-0 0-1706423311-0 0-1709435789-1 0-1713262992-0 1-20210103043416-0 0-2649311683-1 0-2278479600000-1 1-20230716004436-0 1-20230704154734-0 1-20230706021943-0 1-20230713035901-0 1-20230708035427-0 1-20230716093508-0 1-20230718115409-0 1-20230716045921-0 1-20230724033537-0 1-20230922171353-0 1-20230929144735-0 1-20230929150409-0 1-20231102162938-0 1-20230930124359-1 1-20231231230000-0 1-20240127123955-0 1-20240104135032-0 1-20240429235959-1 1-20240301010028-0 1-20470107133047-1 1-22130806222225-1 1-20230810071219-0 0-1703491592-0 1-20230902161605-0 1-20230731020327-0 1-20230915193246-0 0-1689390900-0 0-1691716549-0 1-20230708225842-0 1-20240130123335-0 0-37668760220027-1 1-20240108100306-0 0-1704304800429-0 1-20230713084730-0 0-1641882059-0 0-1673168403-0 0-1684070154-0 0-1682539026-0 0-1681341321-1 0-1659767723-0 0-1678795880-1 0-1700560361-0 0-1683356110-1 0-1698046303-1 0-1684273913-0 0-1735457966-0 0-1698659620-1 0-169824000-1 0-1707061431-0 0-1708593562-0 1-20230204081002-0 1-20121124003114-0 0-4076213745-0 0-1710324027-1 0-1708917946-0 0-1715648634257-1 1-20240318000126-1 1-20240323235959-0 1-20230515093903-0 1-20230422044232-1 1-20230601120001-1 1-20230317214802-0 1-20230308110002-0 1-20240229091116-0 1-20230929133850-0 1-20230816211621-1 1-20230526090856-0 1-20230803073510-0 1-20230708171822-0 1-20230709070946-0 1-20230706043115-0 1-20230821103654-0 1-20230801020122-0 1-20230710103256-0 1-20230724210742-0 1-20231009105329-1 1-20230730091629-0 1-20230829125411-0 1-20230820172856-0 1-20231205130352-0 0-1704197789616-1 1-20231015234657-0 1-20230921210805-0 0-1703929362534-1 0-1702012291000-0 1-20330704184510-0 0-1703549802913-1 1-20230727083632-0 0-1673938275809-1 1-20231010110107-0 1-20230715155113-0 0-1706025600983-1 0-1850893242178-1 0-1650005207000-1 1-20231007065538-0 1-20230729021444-0 0-1684053751-0 0-1669971288-0 1-20230824042500-0 0-1708573735-0 1-20230712031657-0 1-20230628163439-0 0-1686188413-0 0-1692255645-0 0-1868335314-0 1-20000101162853-0 0-1694481635-0 1-20230921134944-0 1-20230809132143-0 1-20230914131642-0 1-20230902134154-0 1-20231007053004-0 1-20231010104035-0 1-20231016135445-0 0-1704803400000-1 0-1507015176-0 1-20230318082500-0 0-169272000-0 1-20230801103951-0 1-20230704151933-0 1-20230708131348-0 1-20230713082724-0 0-1705922504-0 0-1451478947-0 0-1676284803-0 0-1701944785-1 0-1685067813-0 0-1686525937-0 0-1689177277-0 0-1704954358-1 0-1694423090-0 1-20200110084900-0 1-20241115035900-0 0-1711617630-0 1-20230709092314-0 1-20230726170000-0 1-20230813124329-0 1-20230720150134-1 1-20230903141344-0 1-20230831113423-0 1-20231027122323-0 1-20230105092705201-0 1-20231211103205-0 1-20230918130000-0 1-20220821211451-0 1-20230905223059-0 0-1703492720314-1 0-1704872492791-1 0-1709535797602000-1 1-20231008170849-0 1-20230716103644-0 0-1690883805-0 0-1688805410-0 0-1705992463-0 0-1685995592-0 0-1659934369-0 0-1680000059-0 0-1678709020-1 0-1699835850-1 0-1923203376-0 0-1697876463-0 1-20240204092638-1 0-2147482871795-1 1-20231001193628-0 1-20230709094637-0 1-20220125161416-0 1-20230730023459-0 1-20230515203811-0 1-20230710064256-0 1-20230712084808-0 1-20230801044229-0 1-20230815141648-0 1-20230714095918-0 1-20240212091349-0 1-20230906223239-0 1-20231006130940-0 1-20240119052011-0 1-20230817130013-0 1-20230823165248-0 1-20231003034704-0 1-20231107133511-0 1-20231031183501-0 1-20231130051537-1 1-20231219174537-0 1-20240130113223-1 1-20231226111231-1 0-1705386843768-1 0-1702279511768-0 0-1672707355-0 1-20230425173527-0 1-20231111110025-0 0-1705637358377-1 0-1687875867-0 0-1670220587-0 0-1679562003-0 0-1702459102-1 0-1649419793-0 0-1681342345-0 0-1687762571-0 0-168926-0 0-1698715697-0 0-1698734508-0 0-2015943600-1 1-20230404044329-0 0-1711521111-0 1-20230716034719-0 1-20230709073209-0 0-1708658983-1 1-20230530041136-0 0-1715661591-0 1-20241218235959-0 1-20230812130856-0 1-20230902205244-0 1-20230922180405-0 1-20230930194939-0 1-20231015210706-0 1-20990101171025-0 1-20240310121056-1 1-20230831095456-1 1-20230716132640-0 1-20151002230000-0 1-20230826150919-0 0-1703795737205-1 0-1703590017000-1 1-20240122054402-1 1-20240122192811-0 1-20240202090000-0 0-1703056607196-1 1-20240113005705-0 0-1686454296-0 0-1684833346-0 1-20240513102816-1 1-20230801135600-1 0-969065631000-1 0-1700442844-0 1-20240118093301-0 1-20230826175959-1 1-20230711074728-0 1-20230606150324-1 0-20230925195802-1 0-1678195203-0 0-1695710424-0 0-1697322624-0 1-20230417090554-1 1-20230710024845-0 1-20230810132741-0 1-20230716033404-0 1-20230715111242-0 1-20231227164029-0 1-20230425140453-1 0-1703658660000-0 1-20230711022345-0 0-1590174034-0 1-20240111120000-1 1-20230707053423-0 1-20230705073027-0 0-1684485893-0 0-1694185803-0 0-1701303331-0 1-20231204164900-0 1-20230810132503-0 1-20230822083909-0 1-20230821033316-0 0-1705202618-0 0-1702902428-0 1-20230412005126-0 0-1706689419-0 1-1701529544263-0 1-20230913181139-0 1-20230901170700-0 1-20231207103743600-1 1-20230905182050-0 1-20231027234445-0 0-1701297305-0 1-20230325091002-0 1-20230812121624-0 0-1604968084-0 0-1683046800000-0 1-20230802021210-0 0-1711202727-1 0-1697446931-0 0-1693717809-0 0-1697384943-0 0-1713606955-1 0-1691226547-0 0-1703403651-0 0-8197745804-0 1-20220301142753-0 1-20230921134514-0 1-20230609143643-1 1-20230517125510-0 1-20230628152354-0 1-20230711025108-0 1-20230715060756-0 1-20230902164535-0 1-20231006133002-0 1-20231026004305-0 1-20231024050000-0 1-20240205024911-1 0-47850361317-1 1-20230725141417-0 0-1663372800-0 0-1703390340-0 0-1679749804-0 0-1672716594-0 0-1702470820-0 0-1690823688-0 1-20231029194815-0 0-1678705203-0 0-1681972507-0 1-20230903123125-0 0-1702437763282-1 1-20230517144238-0 1-20230921192504-0 1-20230401085546-1 1-20231010161151-0 1-20231008113630890-0 1-20231001070043-0 1-20231019195652-0 1-20231017112226-0 1-20231220172756-1 1-20240227090443-1 1-20240409022044-0 1-20230610102401-0 0-1697531464067-1 1-20230715162522-0 1-20230712062142-0 1-20230710055527-0 0-1693281545-0 0-1705780860215-1 0-1704162032170-0 1-20230907011809-0 1-20230705091945-0 1-20200120013004-0 1-99990101235959-1 0-1703000793000-1 1-20230819150142-0 0-1695621416-0 1-20230913162156-0 1-20230715140250-0 1-1689943017000-0 1-20230811130408-0 0-1705482928033-1 1-20240402111948-1 1-20240126231900-1 1-20230713070137-0 0-3904717393-0 1-20240105130018-0 1-20230822152412-1 1-20230104122141-0 0-1698397200-1 0-1556183496-1 0-1691038800-0 1-20230726135515-0 0-1686904328-1 0-1685346122-0 0-1691852349-0 0-1702544497-0 1-20230901111009-0 1-20230724183301-0 0-1698865215-0 0-1700642107-0 1-20230305102002-0 1-20231018052939-0 1-20230727201000-0 0-1702603456-0 1-20230801024140-0 0-1700039406-0 0-1705302411-1 1-20230904142055-0 0-1708916585-0 1-20240116155831-0 0-864612534-0 1-20230710070643-0 1-20240106143510-0 1-20230716132634-0 0-1708518449-0 0-1705577756004-1 0-1676863580-1 0-1693994643000-0 0-1344932880-0 0-1688641161-0 0-168238080-0 0-1450184478-0 0-1702571083-0 0-1689981840-0 0-1698387928-0 0-20231201232800-1 0-1684285980-0 0-1706515198-0 1-20231108145709-0 1-20230708054551-0 1-20230720114028-0 1-20230713063625-0 1-20240130103302-1 1-20240101152839-0 0-1703822560-0 1-20230708130808-0 0-1687247703-1 0-1701833740-0 0-1682394774-0 1-20231007080642-0 0-1364745600-0 0-1707243295-0 1-20230906151617-0 1-20230708085037-0 0-1705656053542-1 1-20230825021555-0 1-20230922151906-0 1-20230713010640-0 1-20230709091138-0 1-20230815084131-0 1-20230709042328-0 0-1705455000010-1 1-20230714212750-0 1-20230705040708-0 1-20230802013910-0 1-20230714144957-0 1-20231110133440-0 0-1697621590-0 0-1686723375-0 1-20231015184305-0 0-1684485842-1 1-20250101125753-0 1-20230921102726-0 1-20240225214500-0 1-20231125124505-0 0-327905.59999999404-0 1-20230630003550-0 1-20230817151702-0 1-20211104120000-0 1-20230725152957-0 0-1002433346870-1 0-1704326400000-0 0-1693451291006-1 0-1703670763-0 1-20230706021134-0 1-20240126213016-0 0-1686650813-0 0-1703779761-0 1-20230715022614-0 1-20230714100028-0 1-20230412131329-1 1-20230716012644-0 0-81022620-0 1-20231221112459-1 1-20230802143028-0 1-20240223101300-0 1-20230802113506-0 1-20230711083050-0 1-20231009092945-0 1-20230711022456-0 0-1623206826-0 0-1687769698-0 0-1689524237-0 1-20230705091811-0 0-1701298800-0 1-20230801235900-0 1-20230929170649-0 0-1704020000-0 1-20230614062044-0 1-20230919094501-0 1-20230710005406-0 1-20240102092150-0 1-20240201010000-0 1-20230913131410-0 0-1702525619-0 1-20230215185048-1 0-1690350220-0 0-1673257202-0 0-1149388-0 0-1681147046-0 0-1701334676-0 0-1685028446-0 0-19415482-0 0-1689868800-0 1-20230714072827-0 1-20230707003737-0 0-1695808187-0 1-20230905113738-0 1-20230406115004-0 1-20230704212257-0 1-20230715072804-0 1-20240306171238-1 1-20230711041134-0 1-20230802120223-0 1-20230802093610-0 1-20230817124020-0 1-20231008100347-0 1-20240313171324-0 1-20240327123517-0 1-20240308115247-0 1-20240622101444-0 1-20230711080417-0 0-1702102791780-1 0-1687114134-0 1-20220102115400-0 1-20230117101003-0 1-20230825221017-0 1-20220226000000-0 0-1675585203-0 1-20230828160215-0 1-20230707160840-0 1-20230714200817-0 0-1702783353458-1 1-20230801131635-0 1-20230630182955-0 1-20230717191656-0 1-20230904153929-0 0-1705320792123-1
  你可能感兴趣的工具
轻松一刻
    用赢得的权力的品质来维护权力,就很容易获得成功——萨卢斯特
分享该工具
https://www.gongjugou.com/kaifa/timestamp/
关于本站
本站正挂网出售中,如果你有购买意愿,可以添加QQ:2210463103直接垂询,或者【点我前往A5站长平台】了解流量和价格详情,源码不单独出售,整站整体转让!