Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jun 19th, 2018
69
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
# Install the gem, then
require 'v8'
cxt = V8::Context.new
cxt["effectiveTime"] = Time.gm(2010, 9, 19).to_i
cxt.eval("effectiveTime - (365 * 24 * 60 * 60)") #=> 1253318400
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 1 min ago | 0.38 KB
string_pack_unpack
Python | 7 min ago | 3.00 KB
быстрая сортировка, бинарный поиск
C++ | 8 min ago | 2.73 KB
elevators
Lua | 8 min ago | 0.70 KB
nvidia-390xx-utils PKGBUILD
Bash | 12 min ago | 11.81 KB
6 log
HTML | 13 min ago | 0.08 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 16 min ago | 0.39 KB
Firewall
Ruby | 17 min ago | 1.69 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!