You are here: RainWorx.FrameWorx.MVC Namespaces > RainWorx.FrameWorx.MVC.Controllers > RealTimeController Class > GetTimeRemaining Method

RealTimeControllerGetTimeRemaining Method

AuctionWorx 3.5 API
Returns the number of seconds remaining before this listing closes

Namespace:  RainWorx.FrameWorx.MVC.Controllers
Assembly:  RainWorx.FrameWorx.MVC (in RainWorx.FrameWorx.MVC.dll) Version: 3.5

Syntax

C#
public JsonResult GetTimeRemaining(
	int listingID
)

Parameters

listingID
Type: SystemInt32
ID of the spcified listing

Return Value

Type: JsonResult
JSON encoded int
Remarks

will not return a numeric value if the listing does not exist or if it is more than 100 years in the future or the past
See Also

Reference

Copyright © 2002-2022. RainWorx Software. All rights reserved.