Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
inlab6
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MASHKARIA SATVIK MEHULBHAI
inlab6
Commits
26f69a7b
Commit
26f69a7b
authored
Aug 21, 2018
by
satvikmashkaria
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
satvik clock
parent
11dab9d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
clock.html
clock.html
+27
-0
No files found.
clock.html
0 → 100644
View file @
26f69a7b
<!DOCTYPE html>
<!DOCTYPE html>
<html>
<head>
<title>
Get time
</title>
</head>
<body>
<style>
p
{
font-size
:
50px
;
}
</style>
<p
id=
"time"
align=
"center"
></p>
<script>
setInterval
(
timefun
,
1000
);
function
timefun
(){
var
d
=
new
Date
();
var
hrs
=
d
.
getHours
();
var
mins
=
d
.
getMinutes
();
var
secs
=
d
.
getSeconds
();
var
final
=
hrs
+
"
:
"
+
mins
+
"
:
"
+
secs
;
document
.
getElementById
(
'
time
'
).
innerHTML
=
final
;
}
</script>
</body>
</html>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment