⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
Time
/
Edit File: strptime-c.ri
U:RDoc::AnyMethod[iI" strptime:ETI"Time::strptime;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"=Works similar to +parse+ except that instead of using a ;TI"Eheuristic to detect the format of the input string, you provide ;TI"?a second argument that describes the format of the string.;To:RDoc::Markup::BlankLine o; ; [I"KIf a block is given, the year described in +date+ is converted by the ;TI"block. For example:;T@o:RDoc::Markup::Verbatim; [I"LTime.strptime(...) {|y| y < 100 ? (y >= 69 ? y + 1900 : y + 2000) : y} ;T:@format0o; ; [I"/Below is a list of the formatting options:;T@o:RDoc::Markup::List: @type: NOTE:@items[2o:RDoc::Markup::ListItem:@label[I"%a ;T; [o; ; [I")The abbreviated weekday name ("Sun");To;;[I"%A ;T; [o; ; [I"(The full weekday name ("Sunday");To;;[I"%b ;T; [o; ; [I"'The abbreviated month name ("Jan");To;;[I"%B ;T; [o; ; [I"'The full month name ("January");To;;[I"%c ;T; [o; ; [I"5The preferred local date and time representation;To;;[I"%C ;T; [o; ; [I"Century (20 in 2009);To;;[I"%d ;T; [o; ; [I"Day of the month (01..31);To;;[I"%D ;T; [o; ; [I"Date (%m/%d/%y);To;;[I"%e ;T; [o; ; [I",Day of the month, blank-padded ( 1..31);To;;[I"%F ;T; [o; ; [I"6Equivalent to %Y-%m-%d (the ISO 8601 date format);To;;[I"%g ;T; [o; ; [I"/The last two digits of the commercial year;To;;[I"%G ;T; [o; ; [I"HThe week-based year according to ISO-8601 (week 1 starts on Monday ;TI"and includes January 4);To;;[I"%h ;T; [o; ; [I"Equivalent to %b;To;;[I"%H ;T; [o; ; [I",Hour of the day, 24-hour clock (00..23);To;;[I"%I ;T; [o; ; [I",Hour of the day, 12-hour clock (01..12);To;;[I"%j ;T; [o; ; [I"Day of the year (001..366);To;;[I"%k ;T; [o; ; [I"/hour, 24-hour clock, blank-padded ( 0..23);To;;[I"%l ;T; [o; ; [I"/hour, 12-hour clock, blank-padded ( 0..12);To;;[I"%L ;T; [o; ; [I")Millisecond of the second (000..999);To;;[I"%m ;T; [o; ; [I"Month of the year (01..12);To;;[I"%M ;T; [o; ; [I" Minute of the hour (00..59);To;;[I"%n ;T; [o; ; [I"Newline (\n);To;;[I"%N ;T; [o; ; [I"Fractional seconds digits;To;;[I"%p ;T; [o; ; [I"&Meridian indicator ("AM" or "PM");To;;[I"%P ;T; [o; ; [I"&Meridian indicator ("am" or "pm");To;;[I"%r ;T; [o; ; [I"(time, 12-hour (same as %I:%M:%S %p);To;;[I"%R ;T; [o; ; [I"time, 24-hour (%H:%M);To;;[I"%s ;T; [o; ; [I"5Number of seconds since 1970-01-01 00:00:00 UTC.;To;;[I"%S ;T; [o; ; [I""Second of the minute (00..60);To;;[I"%t ;T; [o; ; [I"Tab character (\t);To;;[I"%T ;T; [o; ; [I"time, 24-hour (%H:%M:%S);To;;[I"%u ;T; [o; ; [I"9Day of the week as a decimal, Monday being 1. (1..7);To;;[I"%U ;T; [o; ; [I"HWeek number of the current year, starting with the first Sunday as ;TI"-the first day of the first week (00..53);To;;[I"%v ;T; [o; ; [I"VMS date (%e-%b-%Y);To;;[I"%V ;T; [o; ; [I"7Week number of year according to ISO 8601 (01..53);To;;[I"%W ;T; [o; ; [I"GWeek number of the current year, starting with the first Monday ;TI"0as the first day of the first week (00..53);To;;[I"%w ;T; [o; ; [I"(Day of the week (Sunday is 0, 0..6);To;;[I"%x ;T; [o; ; [I"9Preferred representation for the date alone, no time;To;;[I"%X ;T; [o; ; [I"9Preferred representation for the time alone, no date;To;;[I"%y ;T; [o; ; [I"$Year without a century (00..99);To;;[I"%Y ;T; [o; ; [I"0Year which may include century, if provided;To;;[I"%z ;T; [o; ; [I"4Time zone as hour offset from UTC (e.g. +0900);To;;[I"%Z ;T; [o; ; [I"Time zone name;To;;[I"%% ;T; [o; ; [I"Literal "%" character;To;;[I"%+ ;T; [o; ; [I"&date(1) (%a %b %e %H:%M:%S %Z %Y);T@o;; [I"require 'time' ;TI" ;TI"KTime.strptime("2000-10-31", "%Y-%m-%d") #=> 2000-10-31 00:00:00 -0500 ;T; 0o; ; [I"0You must require 'time' to use this method.;T: @fileI"lib/time.rb;T:0@omit_headings_from_table_of_contents_below00I" year;T[ I"!(date, format, now=self.now);T@^FI" Time;TcRDoc::NormalClass00
Simpan