系统信息书包SYS

发布时间:2015-09-21 22:59:10 

书包sys中有33条系统当前的信息,您根据下表的说明在开发进行取值

关键字

表达式

当前值

说明

copyright

@{sys:copyright}

Copyright©2005 XX软件

WebEasy版权信息

curPath

@{sys:curPath}

 

当前文件的相对路径

date

@{sys:date}

2005-10-17 18:40:36

服务器当前的系统日期及时间,格式为,年-月-日 小时:分钟:秒

day

@{sys:day}

17

当天是本月的几号

dir

@{sys:dir}

D:/webeasy/

系统目录

face

@{sys:face}

/webeasy/

系统门户程序路径,所有需要解释执行的页面文件都必需用http://.../webeasy/…格式访问

help

@{sys:help}

XX软件

WebEasy服务网站

ip

@{sys:ip}

192.168.0.1

客户机IP地址

month

@{sys:month}

10

当前是本年的第几月

now

@{sys:now}

06:40:36

当前时间(12时制)

only

@{sys:only}

1129545636484

由当前时间产生的唯一值

path

@{sys:path}

/webeasy/

系统路径

root

@{sys:root}

D:/

系统根目录

time

@{sys:time}

18:40:36

当前时间(24时制)

today

@{sys:today}

2005-10-17

当前日期(不含时间)

ver

@{sys:ver}

Web Easy 2005

WebEasy版本号

week

@{sys:week}

星期一

今天是星期几

weeken

@{sys:weeken}

Monday

今天是星期几(英文)

year

@{sys:year}

2005

 

  说明:开发手册中的这部分内容是2005年写,后来又逐年升级了很多内容,系统信息书包sys目前已经增加到33个值,详情请运行例子文件:_samples/sys.html,如下: 

系统变量

变量名
client 轻开平台公共版
copyright Copyright©2015 Edoit
count 0
curpath _samples/
date 2015-01-22 11:54:35
day 22
dir E:/webeasy/
enc UTF-8
exts html/htm/chtml/chtm/svg/svgz/img/xml/json
face /webeasy/
file.enc GBK
help Easy do it
homepage edoit.htok.net
ip 10.0.0.12
long 1421898875546
mail tianhua@htok.net
modules base/help
month 01
now 11:54:35
number Free
only 11662906033867
path /webeasy/
root D:/
server 轻松互联网开发平台
start 2014-12-3
sysname Easy do it Server
time 11:54:35
timestamp 2015-01-22 11:54:35.531
today 2015-01-22
ver Easy do it 2003 - 2015
week 星期四
weeken Thursday
year 2015
在开发用表达式@{sys:变量名}直接取值使用,如何当前时间戳:@{sys:timestamp}

相关文章

2015-09-22 20:03:56

HTTP请求信息的Head书包

head书包中包含ip、host、url、client等与HTTP请求相 ...

更多
2015-10-16 16:44:16

file标签之act=info,查看文件或目录属性信息(例2:查看目录属性)

例2:查看目录属性 [html] view plaincopy ...

更多
2015-10-22 09:51:14

Bag标签之把字符串分割成数组,返回一个存放数组数据的书包(Bag)

把字符串分割成数组,返回一个存放数组数据的书包(Bag):操作 [htm ...

更多
2015-10-28 11:12:36

操作引入xml文件的书包

轻开平台一个很重要的特点就是简化了对xml文件的操作,您能非常轻松地引入 ...

更多