PHP日期实际年份

时间:2015-12-16 11:11:24

标签: php

我有这个:

=> Errors prevented startup:

   While processing files with fourseven:scss (for target web.browser):
   /client/style/app.scss: Scss compiler error: File to import:
   {}/client/style/.meteor/local/build/programs/server/assets/packages/meteoric_ionic-sass/_ionic
   not found in file: /Users/me/repos/brkn/{}/client/style/app.scss


   While processing files with fourseven:scss (for target web.cordova):
   /client/style/app.scss: Scss compiler error: File to import:
   {}/client/style/.meteor/local/build/programs/server/assets/packages/meteoric_ionic-sass/_ionic
   not found in file: /Users/me/repos/brkn/{}/client/style/app.scss


=> Your application has errors. Waiting for file change.

但是,如何填写当年,我如何获得当年?

2 个答案:

答案 0 :(得分:5)

您可以使用 [textField2 becomeFirstResponder];

date('Y')

答案 1 :(得分:1)

您可以使用日期,因为这一年将保持一年。 例如,

<?php echo date("Y"); ?>

在Google中进行研究的个人经验。