The time and date conversion of this style, similar to the microblogging release time, has been sorted and summarized as follows, and has solved so many key questions:
(1) Localize the time date string returned by the server (the server may not return a time format for the Chinese region). such as return to Europe and America time format. )
default method implementations in interfaces
Lambda expression
Function-Type interface
Methods and constructor references
Scope of the Lambda
Built-in function interface
Streams
Parallel Streams
Map
Time Date API
Annotations
1.9
Jigsaw project; Modular source code
Simplifying the Process API
Lightweight JSON API
Money and Currency API
Improved lock contention mechanism
Code fra
)/][Field:pubdate function= ' strftime ("%y-%m-%d", "@me") '/]These three kinds of time formats displayed in the foreground are the "2012-12-25" format, and you can call them flexibly.DEDECMS content page Time label:1.2012-08-20 Style:{Dede:field name= ' pubdate ' function= ' Getdatemk (@me) '/}2, May 15, 2012 style:{Dede:field name= ' pubdate ' function= ' strftime ("%b%d,%Y", @me) '/}The time in 24 hours is displayed in red:[Field:pubdate runphp= '
Save the following instance code as time.phpDelete
The code is as follows
Copy Code
Test code:$time 1 = time ()-60 * 60 * 23;Echo Formattime ($time 1, 1); Result: 23 hours agoecho "$time 2 = ' 2013-11-11 19:16:12 '; Result: 29 days agoEcho Formattime ($time 2, 2);
index.php in the root directory of the programJoinInclude Php
use and use good is two different things, like the same description of the idea of resolute, decisive and arbitrary is two distinct descriptions, so to use a good Java access and output still need a lot of practice, a lot of thinking. Well, said so much is some nonsense, the following is the source of the program, hope for everyone useful!Pcera2005-7-2 17:44
/*** Class Name: Zipfilerelease* Description: Zip file decompression,
I recently received a confirmation letter from Microsoft partners, and the release date of Microsoft Silverlight 5 beta has been confirmed. I am very pleased to receive this message. Silverlight 5.0 will add more new features, these new features seem to be different from those predicted by netizens.
I am pleased that after so long, Microsoft finally showed everyone that the Silverlight technology is still
Java concurrent programming (2) immutability of objects and secure release objects1. immutability
Another way to meet synchronization needs is to use Immutable objects ). So far, we have introduced many problems related to atomicity and visibility, such as getting invalid data, losing update operations, or simply finding an object in an inconsistent state, it is related to the multi-threaded view accessing
ASP. NET 2.0 Ajax beta 2 Release Notes (translated from this document)
1
. Release descriptionThis document describes the differences between Ajax beta1 and beta 2. Microsoft ASP. NET Ajax 2.0 extension is the new name of ASP. NET Ajax technology. If you want to provide suggestions, go to the Ajax discussion and sugges
manage apps in the App Store. Admin permissions, admin, can manage developer. Add a test machine and a management team certificate. member permissions, is a common developer. can only download certificates and use certificatesNo access permission, no corresponding permissions. You can add user management to the App Store.
you can add itunes Admin users, or you can add test users. itunes Admin user, you can manage apps. Test user, testing the internal payment test user. Apple App Store
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.