描述项目列表年龄的新列(以分钟为单位) [英] New column describing age of an item list (in minutes)

查看:53
本文介绍了描述项目列表年龄的新列(以分钟为单位)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好!

我需要设置一个新列,根据每个列表项的年龄给出一个状态(绿色/黄色/红色),如下所示:

I need to set up a new column giving a status (green/yellow/red) based on the age of each list item as below:

-green:如果项目的创建时间不超过30分钟

-green: if the item was created no more than 30 minutes ago

-yellow:如果项目是在30分钟前创建的,但是没有超过30分钟前

-yellow:if the item was created more than 30 minutes ago, but no more than 30 minutes ago

-red:如果该项目创建时间超过60分钟

-red:if the item was created more than 60 minutes ago

我在计算列的公式中使用now()和today() 函数时遇到了一些问题。

I have encountered some problems using the now() and today() functions within formulas in calculated columns.

提前致谢!

GI

推荐答案

Hi 630r63,

Hi 630r63,

在计算列中,我们应该使用"创建"列来获取列表中项目的年龄。

In calculated column, we should use "Created" column to get the age of the item in the list.

更多参考:

计算列的日期和时间信息。

Date and Time Information for the Calculated Column.

< a href ="https://sharepointdiva.wordpress.com/2012/09/06/date-and-time-information-for-the-calculated-column/"> https://sharepointdiva.wordpress.com/2012/ 09/06 /日期和时间信息 - 计算栏/

祝你好运,

Sara Fan


这篇关于描述项目列表年龄的新列(以分钟为单位)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆